-
- Enthusiast
- Posts: 43
- Liked: 6 times
- Joined: Oct 21, 2014 7:56 am
- Contact:
Query Veeam Version
Hi,
i have just a simple request. I want to query the actual Veeam Version with Powershell. Is there a Powershell Command for it or is it possible to query it from DB directly?
I found nothing in the reference and also in the forum.
i have just a simple request. I want to query the actual Veeam Version with Powershell. Is there a Powershell Command for it or is it possible to query it from DB directly?
I found nothing in the reference and also in the forum.
BACKUP EAGLE® Developer
-
- Product Manager
- Posts: 6533
- Liked: 762 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Query Veeam Version
Hi,
Please try this piece of code
(Get-PSSnapin VeeamPSSnapin).Version
Thank you.
Please try this piece of code
(Get-PSSnapin VeeamPSSnapin).Version
Thank you.
-
- Enthusiast
- Posts: 43
- Liked: 6 times
- Joined: Oct 21, 2014 7:56 am
- Contact:
Re: Query Veeam Version
thx, so simple...
this should cover all my needs.
I checked the powershell output against Versionoutput from Veeam B&R GUI and they are different Powershell: 8.0.0.0 and GUI:8.0.0.2021
this should cover all my needs.
I checked the powershell output against Versionoutput from Veeam B&R GUI and they are different Powershell: 8.0.0.0 and GUI:8.0.0.2021
BACKUP EAGLE® Developer
-
- Product Manager
- Posts: 6533
- Liked: 762 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Query Veeam Version
If you need an exact version (including build) please use the following code:
Code: Select all
$corePath = Get-ItemProperty -Path "HKLM:\Software\Veeam\Veeam Backup and Replication\" -Name "CorePath"
$depDLLPath = Join-Path -Path $corePath.CorePath -ChildPath "Packages\VeeamDeploymentDll.dll" -Resolve
$file = Get-Item -Path $depDLLPath
$version = $file.VersionInfo.ProductVersion
-
- Service Provider
- Posts: 33
- Liked: 2 times
- Joined: Apr 28, 2015 3:28 pm
- Full Name: Guillaume
- Location: France
- Contact:
[MERGED] Check Veeam Version
Hello
How it s possible to read the Veeam Server Version with powershell ?
I would like to know if it's V8 ou V9, and the update version (0-2)
If it's not possible in powershell how can we do that (registry ?) ?
Regards
How it s possible to read the Veeam Server Version with powershell ?
I would like to know if it's V8 ou V9, and the update version (0-2)
If it's not possible in powershell how can we do that (registry ?) ?
Regards
-
- Lurker
- Posts: 1
- Liked: 1 time
- Joined: Jul 16, 2018 6:54 pm
- Full Name: Edward Cossett
- Contact:
Re: Query Veeam Version
I know this is an old post, but I just wanted to post an update for anyone who may run across this post needing an answer. Running this command in powershell:" [System.Diagnostics.FileVersionInfo]::GetVersionInfo("C:\Program Files\Veeam\Backup and Replication\Console\veeam.backup.shell.exe").FileVersion " should return the Current version number of the veeam backup shell.
-
- Product Manager
- Posts: 20353
- Liked: 2285 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Query Veeam Version
There is an alternative way to do that:
The last line should even mention hot fixes, if any is installed.
Thanks.
Code: Select all
$Path = "Path to Veeam.Backup.Core.dll" # Path to Veeam.Backup.Core.dll by default it's located in C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.Core.dll
$Item = Get-Item -Path $Path
$Item.VersionInfo.ProductVersion
$item.VersionInfo.FileVersion
$item.VersionInfo.Comments
Thanks.
-
- Service Provider
- Posts: 115
- Liked: 4 times
- Joined: Jan 02, 2017 7:31 am
- Full Name: JTT
- Contact:
Re: Query Veeam Version
We are planning to implement Veeam deployments version check across many servers.
So what is the latest and the most confident way to implement this with Powershell?
So what is the latest and the most confident way to implement this with Powershell?
-
- Product Manager
- Posts: 20353
- Liked: 2285 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Query Veeam Version
Honestly I think the script I've provided should be a way to go. The other ones work as well, but I don't believe they catch the hot fixes installed (and hot fixes do affect backup console compatibility). Thanks!
-
- Enthusiast
- Posts: 43
- Liked: 7 times
- Joined: Nov 02, 2018 9:13 am
- Contact:
Re: Query Veeam Version
What is the difference between these two?:
$Item.VersionInfo.ProductVersion
$item.VersionInfo.FileVersion
$Item.VersionInfo.ProductVersion
$item.VersionInfo.FileVersion
-
- Veeam Software
- Posts: 2006
- Liked: 666 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Query Veeam Version
The best explanation I encountered so far:
https://stackoverflow.com/questions/752 ... uctversion
Thanks,
Oleg
https://stackoverflow.com/questions/752 ... uctversion
Thanks,
Oleg
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Mar 07, 2023 7:07 pm
- Full Name: Jesse taft
- Contact:
Veeam B&R Patch Version
I am curious if there is a way to get more information than just the Veeam 11.x.x.x. We are an MSP and utilize Power Shell for a lot of tasks. one of the biggest issues we run into is we have to remote into each Server we manage to see the patch that is installed related to Veeam backup and replication. Would be nice if there was an Automated way to pull the Patch version that I could run a script against. Let me know if anyone has done this or also wants the feature added.
-
- Veeam Software
- Posts: 3572
- Liked: 598 times
- Joined: Aug 28, 2013 8:23 am
- Full Name: Petr Makarov
- Location: Prague, Czech Republic
- Contact:
Re: Query Veeam Version
Hi Jesse and Welcome to Veeam R&D Forums!
I moved your question to an already existing topic, please review the suggestions above. Also, you may have a look at these examples.
Thanks!
I moved your question to an already existing topic, please review the suggestions above. Also, you may have a look at these examples.
Thanks!
Who is online
Users browsing this forum: No registered users and 2 guests