PowerShell script exchange
Post Reply
hgrams
Service Provider
Posts: 70
Liked: 10 times
Joined: Jan 27, 2014 4:28 pm
Full Name: Harald Grams
Contact:

How can I determine the Veeam version via PS

Post by hgrams » 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?

nefes
Veeam Software
Posts: 633
Liked: 157 times
Joined: Dec 10, 2012 8:44 am
Full Name: Nikita Efes
Contact:

Re: How can I determine the Veeam version via PS

Post by nefes » 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.

hgrams
Service Provider
Posts: 70
Liked: 10 times
Joined: Jan 27, 2014 4:28 pm
Full Name: Harald Grams
Contact:

Re: How can I determine the Veeam version via PS

Post by hgrams » Jan 08, 2015 11:42 am

Thanks Nikita, that helps :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest