<?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 How to upgrade or modify the DataONTAP Powershell Toolkit(PSTK) in WFA. in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-upgrade-or-modify-the-DataONTAP-Powershell-Toolkit-PSTK-in-WFA/m-p/111276#M19677</link>
    <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Why to upgrade or modify DataONTAP PSTK module in WFA?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WFA bundles the latest version of the available DataONTAP Powershell Toolkit(PSTK) with the WFA installer package.&amp;nbsp;However WFA users may require to use a different version of PSTK following reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;A new version of PSTK is available and the user may want to try that out. WFA and DataONTAP PSTK being separate products, their releases are not always aligned.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;So&amp;nbsp;&lt;/SPAN&gt;its always possible that new version of ONTAP PSTK are released. Users may want to use the new featuresor and fixes the new PSTK provides without having to wait for the new WFA to have it bundled. So the way is to upgrade your WFA's DataONTAP PSTK&lt;/LI&gt;&lt;LI&gt;There might also be a reason to move to an older PSTK version that from what WFA has bundled along. Or perhaps stay with the existing DataONTAP PSTK but upgrade your WFA to a new version. The new PSTK has some bugs and its breaking my existing contents. I rather stay with the old one till NetApp fixes the PSTK bugs. This should not stop me from using the new WFA features. You Move to new WFA, but use the old DataONTAP PSTK.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;How to check the current version of DataONTAP PSTK in WFA?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Login to your WFA windows machine and to to WFA/bin folder&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Double-click to launch ps.cmd file . It will launch a powershell session with the all the WFA modules loaded.&lt;/LI&gt;&lt;LI&gt;Run the below cmdlets. You should get the output as given below in green.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;PS C:\Program Files\NetApp\WFA\bin&amp;gt; Get-natoolkitversion&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;Major Minor Build Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;----- ----- ----- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;3 3 0 62&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Where is the DataONTAP PSTK located within WFA?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;WFA Installation directory&amp;gt;\WFA\POSH\Module&lt;/EM&gt; you'll see a folder names &lt;FONT color="#008000"&gt;&lt;EM&gt;DataONTAP&lt;/EM&gt;&lt;/FONT&gt;. This is the ONTAP PSTK module. So all you need is to replace this folder( and its contents) with the new one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;The WFA Powershell Profile&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A powershell profile provides way for customization on what all all modules to be loaded when the powershell session starts. The WFA powershell profile is the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;EM&gt;&amp;lt;WFA Installation directory&amp;gt;\WFA\POSH\profile.ps1&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you open it for editing you'll see all the modules that its importing. DataONTAP PSTK is one of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;How to Upgrdae the Data Ontap PSTK version using the MSI installer?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ONTAP powershell Tool kit these days is only available as .msi installers. So if you want to upgrde the DataONTAP PSTK of your WFA server, do the following steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;On your WFA server, download the lastest PSTK version from &lt;EM&gt;mysupport.netapp.com&lt;/EM&gt;. Its an MSI file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Install the .MSI leaving all defaults&lt;/LI&gt;&lt;LI&gt;Go to location C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules\ and copy the folder &lt;FONT color="#008000"&gt;&lt;STRONG&gt;DataONTAP&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Go to location: &lt;EM&gt;&amp;lt;WFA_install_location\NetApp\NetApp PowerShell Toolkit\Modules\&lt;/EM&gt; and replace existing the &lt;FONT color="#008000"&gt;&lt;STRONG&gt;DataONTAP&lt;/STRONG&gt;&lt;/FONT&gt; folder with the copied one.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You are done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternately and if you don't want to copy the folder, you can modify the WFA powershell profile i.e. profile.ps1 to start pointing to the new DataONTAP module location&lt;BR /&gt;1. Open \WFA\POSH\profile.ps1 using some editor&lt;BR /&gt;2. Comment the line&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Import-Module $ModulesDir\Modules\DataONTAP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;and&lt;/P&gt;&lt;P&gt;&amp;nbsp; Add the below line&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;Import-Module "C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules\DataONTAP"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;4. Save it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No need to retart WFA services etc with either ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;How to upgrade WFA but stay with the older version on DataONTAP PSTK or have an older version of Data ONTAP PSTK?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As explained above the folder DataONTAP is the concerned module. To retain your existing PSTK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy and keep the folder DataONTAP and its contents.&lt;/LI&gt;&lt;LI&gt;Install/Upgrade the new WFA version&lt;/LI&gt;&lt;LI&gt;Replace the DataONTAP folder with our older one.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 23:01:07 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2025-06-04T23:01:07Z</dc:date>
    <item>
      <title>How to upgrade or modify the DataONTAP Powershell Toolkit(PSTK) in WFA.</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-upgrade-or-modify-the-DataONTAP-Powershell-Toolkit-PSTK-in-WFA/m-p/111276#M19677</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Why to upgrade or modify DataONTAP PSTK module in WFA?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WFA bundles the latest version of the available DataONTAP Powershell Toolkit(PSTK) with the WFA installer package.&amp;nbsp;However WFA users may require to use a different version of PSTK following reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;A new version of PSTK is available and the user may want to try that out. WFA and DataONTAP PSTK being separate products, their releases are not always aligned.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;So&amp;nbsp;&lt;/SPAN&gt;its always possible that new version of ONTAP PSTK are released. Users may want to use the new featuresor and fixes the new PSTK provides without having to wait for the new WFA to have it bundled. So the way is to upgrade your WFA's DataONTAP PSTK&lt;/LI&gt;&lt;LI&gt;There might also be a reason to move to an older PSTK version that from what WFA has bundled along. Or perhaps stay with the existing DataONTAP PSTK but upgrade your WFA to a new version. The new PSTK has some bugs and its breaking my existing contents. I rather stay with the old one till NetApp fixes the PSTK bugs. This should not stop me from using the new WFA features. You Move to new WFA, but use the old DataONTAP PSTK.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;How to check the current version of DataONTAP PSTK in WFA?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Login to your WFA windows machine and to to WFA/bin folder&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Double-click to launch ps.cmd file . It will launch a powershell session with the all the WFA modules loaded.&lt;/LI&gt;&lt;LI&gt;Run the below cmdlets. You should get the output as given below in green.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;PS C:\Program Files\NetApp\WFA\bin&amp;gt; Get-natoolkitversion&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;Major Minor Build Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;----- ----- ----- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;3 3 0 62&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;Where is the DataONTAP PSTK located within WFA?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;WFA Installation directory&amp;gt;\WFA\POSH\Module&lt;/EM&gt; you'll see a folder names &lt;FONT color="#008000"&gt;&lt;EM&gt;DataONTAP&lt;/EM&gt;&lt;/FONT&gt;. This is the ONTAP PSTK module. So all you need is to replace this folder( and its contents) with the new one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;The WFA Powershell Profile&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A powershell profile provides way for customization on what all all modules to be loaded when the powershell session starts. The WFA powershell profile is the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;EM&gt;&amp;lt;WFA Installation directory&amp;gt;\WFA\POSH\profile.ps1&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you open it for editing you'll see all the modules that its importing. DataONTAP PSTK is one of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;How to Upgrdae the Data Ontap PSTK version using the MSI installer?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ONTAP powershell Tool kit these days is only available as .msi installers. So if you want to upgrde the DataONTAP PSTK of your WFA server, do the following steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;On your WFA server, download the lastest PSTK version from &lt;EM&gt;mysupport.netapp.com&lt;/EM&gt;. Its an MSI file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Install the .MSI leaving all defaults&lt;/LI&gt;&lt;LI&gt;Go to location C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules\ and copy the folder &lt;FONT color="#008000"&gt;&lt;STRONG&gt;DataONTAP&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Go to location: &lt;EM&gt;&amp;lt;WFA_install_location\NetApp\NetApp PowerShell Toolkit\Modules\&lt;/EM&gt; and replace existing the &lt;FONT color="#008000"&gt;&lt;STRONG&gt;DataONTAP&lt;/STRONG&gt;&lt;/FONT&gt; folder with the copied one.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You are done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternately and if you don't want to copy the folder, you can modify the WFA powershell profile i.e. profile.ps1 to start pointing to the new DataONTAP module location&lt;BR /&gt;1. Open \WFA\POSH\profile.ps1 using some editor&lt;BR /&gt;2. Comment the line&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;FONT color="#FF0000"&gt;Import-Module $ModulesDir\Modules\DataONTAP&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;and&lt;/P&gt;&lt;P&gt;&amp;nbsp; Add the below line&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;Import-Module "C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules\DataONTAP"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;4. Save it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No need to retart WFA services etc with either ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;How to upgrade WFA but stay with the older version on DataONTAP PSTK or have an older version of Data ONTAP PSTK?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As explained above the folder DataONTAP is the concerned module. To retain your existing PSTK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy and keep the folder DataONTAP and its contents.&lt;/LI&gt;&lt;LI&gt;Install/Upgrade the new WFA version&lt;/LI&gt;&lt;LI&gt;Replace the DataONTAP folder with our older one.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have fun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 23:01:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/How-to-upgrade-or-modify-the-DataONTAP-Powershell-Toolkit-PSTK-in-WFA/m-p/111276#M19677</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2025-06-04T23:01:07Z</dc:date>
    </item>
  </channel>
</rss>

