<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PowerShell Command to Edit Resource Group in SnapCenter in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156625#M12875</link>
    <description>&lt;P&gt;You should be able to perform the task using the command&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Set-SmProtectResource&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;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).&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Below is an example of what to expect when running the command:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;PS C:\Users\Administrator.DEMO&amp;gt; Set-SmResourceGroup -ResourceGroupName &amp;lt;&amp;gt; -PluginCode &amp;lt;&amp;gt; -Resources @{"Host"="SQLQA.demo.netapp.com";"Type"="SQL Database";"Names"="&amp;lt;&amp;gt;"} -EnableEmail&lt;/P&gt;
&lt;P&gt;cmdlet Set-SmResourceGroup at command pipeline position 1&lt;BR /&gt;Supply values for the following parameters:&lt;BR /&gt;(Type !? for Help.)&lt;BR /&gt;EmailFrom:&lt;BR /&gt;EmailTo:&lt;BR /&gt;EmailSubject:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure which Snapcenter version you have but below is the powershell reference guide, or you can use the help command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2857409" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMLP2857409&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To see the examples, type: "get-help Set-SmResourceGroup -examples".&lt;BR /&gt;For more information, type: "get-help Set-SmResourceGroup -detailed".&lt;BR /&gt;For technical information, type: "get-help Set-SmResourceGroup -full".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 03:48:39 GMT</pubDate>
    <dc:creator>hmoubara</dc:creator>
    <dc:date>2020-06-02T03:48:39Z</dc:date>
    <item>
      <title>PowerShell Command to Edit Resource Group in SnapCenter</title>
      <link>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156464#M12854</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have 59 Resource Groups and need to change the email notification settings on all of them (specifically the EmailTo field). I am looking in PowerShell and found the commands &lt;STRONG&gt;Set-SmProtectResource&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;Set-SmResourceGroup&lt;/STRONG&gt;, but neither command (from what I can tell) lets you edit the EmailTo field, which is the one I need to change on all 59 groups. Obviously I'm changing the global setting too, but (if I understand correctly) that only affects the next resource groups I create.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something in these two commands that would allow me to do what I need to do? Would love any tips or suggestions! Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:08:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156464#M12854</guid>
      <dc:creator>TMADOCTHOMAS</dc:creator>
      <dc:date>2025-06-04T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Command to Edit Resource Group in SnapCenter</title>
      <link>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156625#M12875</link>
      <description>&lt;P&gt;You should be able to perform the task using the command&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Set-SmProtectResource&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;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).&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Below is an example of what to expect when running the command:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;PS C:\Users\Administrator.DEMO&amp;gt; Set-SmResourceGroup -ResourceGroupName &amp;lt;&amp;gt; -PluginCode &amp;lt;&amp;gt; -Resources @{"Host"="SQLQA.demo.netapp.com";"Type"="SQL Database";"Names"="&amp;lt;&amp;gt;"} -EnableEmail&lt;/P&gt;
&lt;P&gt;cmdlet Set-SmResourceGroup at command pipeline position 1&lt;BR /&gt;Supply values for the following parameters:&lt;BR /&gt;(Type !? for Help.)&lt;BR /&gt;EmailFrom:&lt;BR /&gt;EmailTo:&lt;BR /&gt;EmailSubject:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure which Snapcenter version you have but below is the powershell reference guide, or you can use the help command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://library.netapp.com/ecm/ecm_download_file/ECMLP2857409" target="_blank"&gt;https://library.netapp.com/ecm/ecm_download_file/ECMLP2857409&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To see the examples, type: "get-help Set-SmResourceGroup -examples".&lt;BR /&gt;For more information, type: "get-help Set-SmResourceGroup -detailed".&lt;BR /&gt;For technical information, type: "get-help Set-SmResourceGroup -full".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 03:48:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156625#M12875</guid>
      <dc:creator>hmoubara</dc:creator>
      <dc:date>2020-06-02T03:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Command to Edit Resource Group in SnapCenter</title>
      <link>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156634#M12878</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/14855"&gt;@hmoubara&lt;/a&gt;&amp;nbsp;! I was actually given some mySQL commands that did the trick, but this is more straightforward. I did not realize it would prompt for settings. Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 12:39:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/PowerShell-Command-to-Edit-Resource-Group-in-SnapCenter/m-p/156634#M12878</guid>
      <dc:creator>TMADOCTHOMAS</dc:creator>
      <dc:date>2020-06-02T12:39:01Z</dc:date>
    </item>
  </channel>
</rss>

