Active IQ Unified Manager Discussions

Is there relationship between WFA and DOT PowerShell toolkit?

korns
2,995 Views

Hi,

Novice question: I understand that WFA uses PowerShell under the covers. I'm also aware that NetApp offers the Data ONTAP PowerShell Toolkit (ref: https://communities.netapp.com/community/products_and_solutions/microsoft/powershell )

Is there any relationship between these kits/tools? Does WFA utilize the PS toolkit comlets? ... or does it have it's own PS code and cmdlets?

The reason I ask is I'm wondering if it might make sense to use them together or is it even possible to install them both on a WFA server.

4 REPLIES 4

tanmoy
2,995 Views

PowerShell tool kit comes bundled with WFA installer; so once you install WFA you get the tool kit also.

We do utilize PS toolkit comandlets to develop commands in WFA.

So you don't need to install DOT PowerShell tool kit separately on a WFA server.

Thanks

Tanmoy

briankrussell
2,995 Views

I see the Data ONTAP toolkit installed on my WFA system here:

c:\Program Files\netapp\WFA\PoSH\Modules\DataONTAP

How do I update my powershell $PROFILE to Import-Module DataONTAP?  The DataONTAP module is not listed if I do Get-Module -listavailable

Thanks!

Brian

kandati
2,995 Views

Hi Brian,

The following way you can import the modules,

PS C:\Documents and Settings\Administrator> Get-Item 'C:\Program Files\NetApp\WFA\PoSH\Modules\*' | Import-Module

Here the "*" makes importing the other two WFA modules along with DataONTAP..!

The same thing can be added to your $PROFILE file..!

PS C:\Documents and Settings\Administrator\Desktop> Get-Module

ModuleType Name                      ExportedCommands

---------- ----                      ----------------

Manifest   DataONTAP                 {Invoke-NaSnapmirrorThrottle, Resume-Nc...

Binary     WFA                       {Copy-NaVM, Get-NaCredentials, Set-WfaC...

Script     WFAWrapper                {Set-WfaAcl, New-WfaZapiServer, Connect...

Warm Regards

Sivaprasad K

briankrussell
2,995 Views

Thanks!  Works nice.

Public