PowerShell script exchange
Post Reply
Talom
Enthusiast
Posts: 43
Liked: 6 times
Joined: Oct 21, 2014 7:56 am
Contact:

Veeam 11 Powershell SnapIn gone

Post by Talom »

Hello,

i am testing the new Veeam 11 Release and the old
"Add-PSSnapin -Name VeeamPSSnapIn" doesn't work anymore.

I had to use "Import-Module Veeam.Backup.PowerShell" to get my scripts working again.

Is this a bug or a feature? :?
BACKUP EAGLE® Developer
Egor Yakovlev
Veeam Software
Posts: 2537
Liked: 683 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Veeam 11 Powershell SnapIn gone

Post by Egor Yakovlev » 3 people like this post

jhoughes
Veeam Vanguard
Posts: 279
Liked: 112 times
Joined: Apr 20, 2017 4:19 pm
Full Name: Joe Houghes
Location: Castle Rock, CO
Contact:

Re: Veeam 11 Powershell SnapIn gone

Post by jhoughes » 1 person likes this post

Mods: please move to the PowerShell forum.

Yes, this is known change to a PowerShell module from a snap-in, it was made during a beta stage for v11. The requirements for PowerShell 5.1 (up from 2) are covered in the Release Notes, and the details about the PowerShell module are covered in the "What's New" documentation.

Details are here:

PowerShell
• PowerShell module — By popular demand, we switched from the PowerShell snap-in to the PowerShell module, which can be used on any machine with the backup console installed. We also no longer require PowerShell 2.0 installed on the backup server, which is something many customers had problems with.
• New PowerShell cmdlet — Version 11 adds 184 new cmdlets for both newly added functionality and expanded coverage of the existing features with a particular focus on restore functionality.
Husband, Father, Solutions Architect, Geek Extraordinaire | @DenverVMUG, @AustinVMUG & @ATXPowerShell leader | VMware vExpert | Cisco Champion
Talom
Enthusiast
Posts: 43
Liked: 6 times
Joined: Oct 21, 2014 7:56 am
Contact:

Re: Veeam 11 Powershell SnapIn gone

Post by Talom » 2 people like this post

Shame on me. I've read the release notes last week and immediately forgot this part...
BACKUP EAGLE® Developer
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests