Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3485

Re: PowerShell Command to Edit Resource Group in SnapCenter

$
0
0

You should be able to perform the task using the command  Set-SmProtectResource and Set-SmResourceGroup by using the -EnableEmail parameter ( no value need to be added; you will be prompted to enter the settings once you hit Enter).

Below is an example of what to expect when running the command:

PS C:\Users\Administrator.DEMO> Set-SmResourceGroup -ResourceGroupName <> -PluginCode <> -Resources @{"Host"="SQLQA.demo.netapp.com";"Type"="SQL Database";"Names"="<>"} -EnableEmail

cmdlet Set-SmResourceGroup at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
EmailFrom:
EmailTo:
EmailSubject:

 

Not sure which Snapcenter version you have but below is the powershell reference guide, or you can use the help command:

 

https://library.netapp.com/ecm/ecm_download_file/ECMLP2857409

 

To see the examples, type: "get-help Set-SmResourceGroup -examples".
For more information, type: "get-help Set-SmResourceGroup -detailed".
For technical information, type: "get-help Set-SmResourceGroup -full".

 


Viewing all articles
Browse latest Browse all 3485

Trending Articles