Data Backup and Recovery

SME commands - New-Backup

JSHACHER11
4,833 Views

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
4,833 Views

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
4,833 Views

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
4,832 Views

JSHACHER11
4,832 Views

thanks Vinith

I don't have that (?!)

vinith
4,834 Views

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

JSHACHER11
4,832 Views

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

Public