How can I determine the Veeam version via PS

PowerShell script exchange

How can I determine the Veeam version via PS

Veeam Logoby hgrams » Thu Jan 08, 2015 11:08 am

Hi, In Veeam version 8, there changed some Methods and object properties. We have running some scripts in several customer environments. For that, it is nice, if running the same script, which do the same thing in all environments with different Veeam versions. Is it possible to get the Veeam version via Powershell?
hgrams
Service Provider
 
Posts: 47
Liked: 5 times
Joined: Mon Jan 27, 2014 4:28 pm
Full Name: Harald Grams

Re: How can I determine the Veeam version via PS

Veeam Logoby nefes » Thu Jan 08, 2015 11:19 am

There are a lot of ways to do that, for example:
Code: Select all
(Get-PSSnapin VeeamPSSnapin).Version

You could also take a look on Veeam.Backup.Shell.exe version on filesystem, if you have access to it.
nefes
Veeam Software
 
Posts: 534
Liked: 125 times
Joined: Mon Dec 10, 2012 8:44 am
Full Name: Nikita Efes

Re: How can I determine the Veeam version via PS

Veeam Logoby hgrams » Thu Jan 08, 2015 11:42 am

Thanks Nikita, that helps :)
hgrams
Service Provider
 
Posts: 47
Liked: 5 times
Joined: Mon Jan 27, 2014 4:28 pm
Full Name: Harald Grams


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 3 guests