PowerShell script exchange
Post Reply
Jack1874
Enthusiast
Posts: 95
Liked: 5 times
Joined: Oct 17, 2015 3:32 pm
Full Name: Stuart Little
Location: Canada
Contact:

HPE 3PAR StoreServ Storage Systems

Post by Jack1874 »

Guys, if I start my Powershell (not from the Blue Menu) and then run a script with the asnp VeeamPSSnapin -ErrorAction Continue everything works fine.

I can use most of the Get-VBR commandlets.

If I then create a script, add the asnp VeeamPSSnapin -ErrorAction Continue, and then use a Get-HP3Storage commandlets, the Get-HP3... is not recognized.

Do I need to register the HP 3PAR commandlets independently ??

They do work if I access Powershell from the Blue Menu...
Jack1874
Enthusiast
Posts: 95
Liked: 5 times
Joined: Oct 17, 2015 3:32 pm
Full Name: Stuart Little
Location: Canada
Contact:

Re: HPE 3PAR StoreServ Storage Systems

Post by Jack1874 »

I figured it out ...

asnp 'VeeamPSSnapIn.Plugin.Hp3PAR' -ErrorAction Continue
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: HPE 3PAR StoreServ Storage Systems

Post by veremin »

Which product version are you using? I'm asking because starting from version 9 snap-ins responsible for storage integration have been incorporated in our general snap-in.

So, there is no need to load them separately any longer.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests