<?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 wafliron status through PowerShell Toolkit in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/wafliron-status-through-PowerShell-Toolkit/m-p/102163#M20712</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently wafliron is running for 45T of aggregate and am not getting console connection to check wafliron status. But filer is responding for powershell commands. How to check wafl scan status through powershell utility? Is there any other way to check wafliron status? I dont have rsh configured on this filer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:48:05 GMT</pubDate>
    <dc:creator>RAMACHANDRA_CL</dc:creator>
    <dc:date>2025-06-05T04:48:05Z</dc:date>
    <item>
      <title>wafliron status through PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/wafliron-status-through-PowerShell-Toolkit/m-p/102163#M20712</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently wafliron is running for 45T of aggregate and am not getting console connection to check wafliron status. But filer is responding for powershell commands. How to check wafl scan status through powershell utility? Is there any other way to check wafliron status? I dont have rsh configured on this filer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:48:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/wafliron-status-through-PowerShell-Toolkit/m-p/102163#M20712</guid>
      <dc:creator>RAMACHANDRA_CL</dc:creator>
      <dc:date>2025-06-05T04:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: wafliron status through PowerShell Toolkit</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/wafliron-status-through-PowerShell-Toolkit/m-p/102167#M20716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you considered using the "Invoke-NaSsh" PowerShell CmdLet? (Assuming you are on 7-Mode). See the CLI reference to check the status here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="https://kb.netapp.com/support/index?page=content&amp;amp;id=3011877" target="_blank" href="https://kb.netapp.com/support/index?page=content&amp;amp;id=3011877"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;id=3011877&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in theory you could try something like (modify the ControllerName and username variables to your environment):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[String]$ControllerName = "testns01"&lt;BR /&gt;[String]$Username&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = "root"&lt;BR /&gt;[System.Security.SecureString]$password = Read-Host "Please enter the password for user ""$userName"" to connect to ""$controllerName""" -AsSecureString&lt;BR /&gt;$credentials = New-Object System.Management.Automation.PSCredential -ArgumentList $username, $password&lt;BR /&gt;Import-Module DataONTAP&lt;BR /&gt;#'------------------------------------------------------------------------------&lt;BR /&gt;#'Connect to the cluster&lt;BR /&gt;#'------------------------------------------------------------------------------&lt;BR /&gt;Try{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Connect-NaController -Name $controllerName -Credential $credentials -HTTPS -ErrorAction Stop | Out-Null&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Write-Host "Connected to Controller ""$controllerName"" as ""$username"""&lt;BR /&gt;}Catch{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; $errorMessage = $error[0].Exception.Message&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Write-Warning "Failed connecting to Controller ""$controllerName"". $errorMessage"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Break;&lt;BR /&gt;}&lt;BR /&gt;#'------------------------------------------------------------------------------&lt;BR /&gt;#'Check the WAFL Iron status&lt;BR /&gt;#'------------------------------------------------------------------------------&lt;BR /&gt;[String]$command = "priv set advanced;aggr wafliron status -s"&lt;BR /&gt;Try{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; $results = Invoke-NaSsh -Command $command -ErrorAction Stop&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Write-Host "Executed Command: $command"&lt;BR /&gt;}Catch{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; $errorMessage = $error[0].Exception.Message&lt;BR /&gt;}&lt;BR /&gt;$results&lt;BR /&gt;Write-Host "Done!"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wasn't able to view the actual results because i don't have any systems performing a WAFL iron to test it on...but i did get the results i expected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Scripts\PowerShell\Projects\WaflIronStatus&amp;gt; .\WaflIronStatus.ps1&lt;BR /&gt;Please enter the password for user "root" to connect to "testns01": **************&lt;BR /&gt;Connected to Controller "testns01" as "root"&lt;BR /&gt;WARNING: Warning: These advanced commands are potentially dangerous; use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; them only when directed to do so by NetApp&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; personnel.&lt;BR /&gt;aggr wafliron status aggr2: wafliron is not currently active.&lt;BR /&gt;aggr wafliron status aggr1: wafliron is not currently active.&lt;BR /&gt;aggr wafliron status aggr0: wafliron is not currently active.&lt;BR /&gt;Executed Command: priv set advanced;aggr wafliron status -s&lt;BR /&gt;aggr wafliron status: no waflirons in progress&lt;BR /&gt;&lt;BR /&gt;Done!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/matt&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 03:46:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/wafliron-status-through-PowerShell-Toolkit/m-p/102167#M20716</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2015-03-24T03:46:40Z</dc:date>
    </item>
  </channel>
</rss>

