<?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: How to trigger an AutoSupport from Powershell? in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50595#M2360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be able to use the Set-NaOption cmdlet:&amp;nbsp; Set-NaOption autosupport.doit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 May 2013 14:29:16 GMT</pubDate>
    <dc:creator>beam</dc:creator>
    <dc:date>2013-05-08T14:29:16Z</dc:date>
    <item>
      <title>How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50567#M2354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this sounds simple but i am unsure how to trigger an AutoSupport from Powershell? I know i can do this by using SSH to the filer and using the cmd "&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;options autosupport.doit" but &lt;/SPAN&gt;find&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; i can do everything else in PowerShell.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 01:22:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50567#M2354</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2013-05-06T01:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50572#M2355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Invoke-NaEmsAutosupportLog.&amp;nbsp; Just be sure to leave -GenerateAutosupport set to false, lest you trigger an immediate ASUP phone home action (unless that's what you want).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 01:31:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50572#M2355</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2013-05-06T01:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50577#M2356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback Clinton. I am trying to generate and immediate ASUP as i logged a technical support case. I tried doing a "get-help &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Invoke-NaEmsAutosupportLog" but the description is a little confusing to me and when i try to execute it requires a computer host name. Are you able to supply me with a command to just replicate a &lt;/SPAN&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;options autosupport.doit" from the filer? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, Helvetica, Verdana, sans-serif; color: #454545; background-color: #ffffff;"&gt;Thanks for your help.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 01:47:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50577#M2356</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2013-05-06T01:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50582#M2357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same question, its little confusing when I see the example below. Looks like it do not generate autosupport from the help description, can you please clarify this confusion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This cmdlet is used by applications to log specific events occurring on a host system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------------&amp;nbsp; Example 1 --------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\PS&amp;gt;Invoke-NaEmsAutosupportLog -ComputerName "host1" -EventId 100 -EventSource "powershell" -AppVersion "2.0" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Category "test" -EventDescription "this is a test message." -LogLevel 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 02:02:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50582#M2357</guid>
      <dc:creator>RAVI_PALADUGU</dc:creator>
      <dc:date>2013-05-06T02:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50586#M2358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt; -GenerateAutosupport switch if you really want the filer to phone home now.&amp;nbsp; But please do that very sparingly, as there is overhead on both ends when that happens.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 17:34:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50586#M2358</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2013-05-06T17:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50592#M2359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clinton,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping me understand. Please let me know if I got it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what you are saying, there is no way of directly replicating the Data ONTAP cmd "&lt;SPAN style="font-size: 10pt;"&gt;options autosupport.doit" to only send ASUP info from the filer yet. I could however write out the whole powershell cmd as listed below with the "-GenerateAutosupport" flag which will also send log data from the Windows Host "host1"&amp;nbsp; and then send an ASUP with it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;C:\PS&amp;gt;Invoke-NaEmsAutosupportLog -ComputerName "host1" -EventId 100 -EventSource "powershell" -AppVersion "2.0" -Category "test" -EventDescription "this is a test message." -LogLevel 6 -GenerateAutosupport&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I tried to run the cmd "Invoke-NaEmsAutosupportLog -GenerateAutosupport" directly but it then asked me to input all the info such as &lt;/SPAN&gt;ComputerName:, EventId:, EventSource:, AppVersion:, Category:, EventDescription: and LogLevel: before the cmd would execute.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21150_oke-NaEmsAutosupportLog.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 12:51:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50592#M2359</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2013-05-08T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50595#M2360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may be able to use the Set-NaOption cmdlet:&amp;nbsp; Set-NaOption autosupport.doit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:29:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50595#M2360</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2013-05-08T14:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50604#M2361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get an error when I do that (but it still triggers the ASUP):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/21159_snip.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:38:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50604#M2361</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2013-05-08T14:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50609#M2362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use Invoke-Nassh "options autosupport.doit test".&amp;nbsp; That works and doesn't generate an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 14:39:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50609#M2362</guid>
      <dc:creator>bsti</dc:creator>
      <dc:date>2013-05-08T14:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50618#M2363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, so if you don't want to use Invoke-NaSsh, and Set-NaOption does trigger the ASUP, you can combine Set-NaOption with -ErrorAction SILENTLYCONTINUE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 15:10:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/50618#M2363</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2013-05-08T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger an AutoSupport from Powershell?</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/121748#M4974</link>
      <description>&lt;P&gt;Get-NaOption autosupport.doit "Test"&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:09:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-trigger-an-AutoSupport-from-Powershell/m-p/121748#M4974</guid>
      <dc:creator>Karhtik_Abhi</dc:creator>
      <dc:date>2016-07-26T16:09:23Z</dc:date>
    </item>
  </channel>
</rss>

