<?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: Using Powershell to set Multiple autosupport.partner.to addresses. in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20077#M967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i would probably go at it differently.&amp;nbsp; When you read stuff into a file it becomes in array that you would iterate through.&amp;nbsp; This doesn't seem the right case for it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's easy to do something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$partners = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:autosupport@cstore.com" target="_blank"&gt;autosupport@cstore.com&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:dl-desses@cstor.com" target="_blank"&gt;dl-desses@cstor.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Lucida Console; color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; set-naoption autosupport.partner.to $partners&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 18:27:12 GMT</pubDate>
    <dc:creator>JGPSHNTAP</dc:creator>
    <dc:date>2013-05-20T18:27:12Z</dc:date>
    <item>
      <title>Using Powershell to set Multiple autosupport.partner.to addresses.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20071#M966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue trying to set the autosupport.partner.to with multiple addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it to work properly on an older (FAS2050 with OnTap 7.3.7) by doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Lucida Console; color: #006400; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Lucida Console; color: #006400; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Lucida Console; color: #006400; font-size: 8pt;"&gt;$partner = get-content C:\scripts\Powershell\content\partners.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Lucida Console;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set-naoption autosupport.partner.to $partner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The partners.txt has 2 email addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try it on my new FAS6240 (OnTap 8.1.2 7mode) I keep getting this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt; font-family: Lucida Console;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Lucida Console; color: #008000; font-size: 8pt;"&gt;Set-NaOption : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'OptionValue'. Specified method is not supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;At line:1 char:37&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;+ set-naoption autosupport.partner.to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:autosupport@cstor.com" target="_blank"&gt;autosupport@cstor.com&lt;/A&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:dl-desses@cstor.com" target="_blank"&gt;dl-desses@cstor.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;+ CategoryInfo : InvalidArgument: (:) [Set-NaOption], ParameterBindingException&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ FullyQualifiedErrorId : CannotConvertArgument,DataONTAP.PowerShell.SDK.Cmdlets.Options.SetNaOption&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt; font-family: Lucida Console;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt; font-family: Lucida Console;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:02:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20071#M966</guid>
      <dc:creator>jjd003166</dc:creator>
      <dc:date>2025-06-05T06:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using Powershell to set Multiple autosupport.partner.to addresses.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20077#M967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i would probably go at it differently.&amp;nbsp; When you read stuff into a file it becomes in array that you would iterate through.&amp;nbsp; This doesn't seem the right case for it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's easy to do something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$partners = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:autosupport@cstore.com" target="_blank"&gt;autosupport@cstore.com&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:dl-desses@cstor.com" target="_blank"&gt;dl-desses@cstor.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Lucida Console; color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; set-naoption autosupport.partner.to $partners&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 18:27:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20077#M967</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2013-05-20T18:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Powershell to set Multiple autosupport.partner.to addresses.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20085#M968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I dropped the Variable and just did this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set-naoption autosupport.partner.to "&lt;A href="mailto:autosupport@cstor.com,dl-desses@cstor.com" target="_blank"&gt;autosupport@cstor.com,dl-desses@cstor.com&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error stating that it was unable to set the autosupport.partner.to option, however It works like a champ. The option is set and autosupport messages are going to all recipients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!!!!!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 20:45:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20085#M968</guid>
      <dc:creator>jjd003166</dc:creator>
      <dc:date>2013-05-20T20:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Powershell to set Multiple autosupport.partner.to addresses.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20088#M969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That happens when you call set-naoption autosupport.doit to something too.  I think that api has an issue.  Just call it with -erroraction silentlycontinue to suppress the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connected by DROID on Verizon Wireless&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 23:03:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Using-Powershell-to-set-Multiple-autosupport-partner-to-addresses/m-p/20088#M969</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2013-05-20T23:03:33Z</dc:date>
    </item>
  </channel>
</rss>

