Data Backup and Recovery

SME commands - New-Backup

JSHACHER11

Hi guys,

** not related to the Toolkit **

I want to run Snapmanager commands from Powershell (New-Backup for example) - to do that I need to use the 'SMEJobLauncher' application:

.\NetApp\Snapmanager for Exchange> SMEJobLauncher New-Backup ....

with SMSQL I can just import/add the Snapin and then run the commands:

>Add-PSSnapin NetApp.SnapManager.SQL.PS.Admin

> New-Backup ...

What would be the equivalent in SME?

cheers

Joel

1 ACCEPTED SOLUTION

vinith

Hello Joel,

Can you upgrade to the latest version of SME, and retry

Add-PSSnapin NetApp.SnapManager.Exchange.PS.Admin 

These snappin are imported when you open  the snapmanager for exchange cmdlets console

In a normal powershell console, you would need to manually import the snapin using add-pssnapin

View solution in original post

5 REPLIES 5

vinith

Hey Joel,

All SnapManager's have pssnapins and not modules. you would need to add the pssnapin to start using the cmdlets.

Add-PSSnapin NetApp.SnapManager.Exchange.PS.Admin

Also, here are the list of cmdlets in "NetApp.SnapManager.Exchange.PS.Admin"

JSHACHER11

JSHACHER11

thanks Vinith

I don't have that (?!)

vinith

Hello Joel,

Can you upgrade to the latest version of SME, and retry

Add-PSSnapin NetApp.SnapManager.Exchange.PS.Admin 

These snappin are imported when you open  the snapmanager for exchange cmdlets console

In a normal powershell console, you would need to manually import the snapin using add-pssnapin

View solution in original post

JSHACHER11

Vinith,

I've managed to run the New-Backup command from the PS for SME console (not from the native PS console), which is good enough

thank you

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public