<?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 WFA Powershell Error - Drive not found in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112662#M19933</link>
    <description>&lt;P&gt;While running ps.cmd from WFA windows server we see error "Get-Item: Cannot find drive. "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps.cmd contains,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@rem opens a powershell prompt with WFA's commandlets loaded&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/25193"&gt;@PowerShell&lt;/a&gt;.exe -NoExit -ExecutionPolicy remotesigned -Command "&amp;amp; {cd (((Get-Item (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV).ImagePath.Split(" ")[0]).Directory.fullname)); ../PoSH/profile.ps1; ((Get-Host).UI.RawUI).WindowTitle = 'WFA PS'; clear}"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;profile.ps1 contains,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$ModulesDir = split-path $MyInvocation.MyCommand.Path&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Import-Module $ModulesDir\Modules\WFA&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Import-Module $ModulesDir\Modules\WFAWrapper&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Import-Module $ModulesDir\Modules\DataONTAP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV seems to be good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PSPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSParentPath&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSChildName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NA_WFA_SRV&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSDrive&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : HKLM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSProvider&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; : 16&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ErrorControl&amp;nbsp; &amp;nbsp; &amp;nbsp; : 1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ImagePath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; : "E:\Program Files\NetApp\WFA/bin/NA_WFA_SRV.exe" //RS//NA_WFA_SRV&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DisplayName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NetApp WFA Server&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DependOnService : {NA_WFA_DB, Tcpip, Afd}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ObjectName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : LocalSystem&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Description&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; : NetApp WFA Application Server running JBoss AS7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly find the error screenshot atttached.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 22:44:59 GMT</pubDate>
    <dc:creator>Rasik_Patel</dc:creator>
    <dc:date>2025-06-04T22:44:59Z</dc:date>
    <item>
      <title>WFA Powershell Error - Drive not found</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112662#M19933</link>
      <description>&lt;P&gt;While running ps.cmd from WFA windows server we see error "Get-Item: Cannot find drive. "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ps.cmd contains,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@rem opens a powershell prompt with WFA's commandlets loaded&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/25193"&gt;@PowerShell&lt;/a&gt;.exe -NoExit -ExecutionPolicy remotesigned -Command "&amp;amp; {cd (((Get-Item (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV).ImagePath.Split(" ")[0]).Directory.fullname)); ../PoSH/profile.ps1; ((Get-Host).UI.RawUI).WindowTitle = 'WFA PS'; clear}"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;profile.ps1 contains,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;$ModulesDir = split-path $MyInvocation.MyCommand.Path&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Import-Module $ModulesDir\Modules\WFA&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Import-Module $ModulesDir\Modules\WFAWrapper&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Import-Module $ModulesDir\Modules\DataONTAP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV seems to be good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PSPath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSParentPath&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSChildName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NA_WFA_SRV&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSDrive&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : HKLM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PSProvider&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.PowerShell.Core\Registry&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; : 16&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ErrorControl&amp;nbsp; &amp;nbsp; &amp;nbsp; : 1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ImagePath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; : "E:\Program Files\NetApp\WFA/bin/NA_WFA_SRV.exe" //RS//NA_WFA_SRV&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DisplayName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NetApp WFA Server&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DependOnService : {NA_WFA_DB, Tcpip, Afd}&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ObjectName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : LocalSystem&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Description&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; : NetApp WFA Application Server running JBoss AS7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly find the error screenshot atttached.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:44:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112662#M19933</guid>
      <dc:creator>Rasik_Patel</dc:creator>
      <dc:date>2025-06-04T22:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: WFA Powershell Error - Drive not found</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112682#M19938</link>
      <description>&lt;P&gt;You must be using an old version of WFA, WFA2.1 or older. This is a bug in the WFA2.1 and below versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Replace the ps.cmd contents with the below code:&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;@rem opens a powershell prompt with WFA's commandlets loaded&lt;BR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/25193"&gt;@PowerShell&lt;/a&gt;.exe -NoExit -ExecutionPolicy remotesigned -Command "&amp;amp; {cd (Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV).ImagePath.substring(1, $(Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Services\NA_WFA_SRV).ImagePath.length -34); ../PoSH/profile.ps1; ((Get-Host).UI.RawUI).WindowTitle = 'WFA PS'; clear}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save the file and now launch ps.cmd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 06:21:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112682#M19938</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-11-18T06:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: WFA Powershell Error - Drive not found</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112775#M19953</link>
      <description>&lt;P&gt;Hi Sinhaa,&lt;/P&gt;&lt;P&gt;Thanks for your recommendations. We made changes to ps.cmd as per your recommendation. It worked, but was not able to run WFA commands eg: " show-WFAConfig -name TransactionTimeout".&lt;/P&gt;&lt;P&gt;It seems like modules are not loaded. Will be cheking it during our next scheduled.&lt;/P&gt;&lt;P&gt;Kindly find the attached error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rasik&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 13:45:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112775#M19953</guid>
      <dc:creator>Rasik_Patel</dc:creator>
      <dc:date>2015-11-20T13:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: WFA Powershell Error - Drive not found</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112793#M19963</link>
      <description>&lt;P&gt;I already told that you are using a very old version of WFA. I gave you the fix for that. But the cmdlet Show-WfaConfig is &lt;STRONG&gt;not&lt;/STRONG&gt; available with that version. Show-WfaConfig is only available from WFA3.0 and above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WIth WFA 3.0 and above the original issue of ps.cmd failing will also not be seen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 07:09:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Powershell-Error-Drive-not-found/m-p/112793#M19963</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-11-21T07:09:32Z</dc:date>
    </item>
  </channel>
</rss>

