Active IQ Unified Manager Discussions

seeking list or doc with all WFA commands - ie: get-wfalogger

stephen2
4,849 Views

Hi all, can someone point me to documentation that explains the various wfa commands and switches?

Thanks

1 ACCEPTED SOLUTION

sinhaa
4,849 Views

Stephen, your feedback is taken and it will be available in future WFA releases. Now for the time being you can do the following.

If you don't mind reading some documentation on a Powershell ISE cmd window then you can do this. It may not give the entire explanation, but should help you in using them.

WFA cmdlets are placed in the following 2 modules

1. WFA

2. WFAWrapper

ON Powershell 2.0 and above

1. Open powershell ISE or powershell windows

2. Import-module <WFA_install_location>\WFA\PoSH\profile.ps1

3. List the commands available for the 2 modules

PS C:\Users\Administrator> Get-Command -Module WFA

CommandType     Name                                               ModuleName                          

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

Cmdlet          Add-WfaWorkflowParameter                           WFA                                 

Cmdlet          Copy-NaVM                                          WFA                                 

Cmdlet          Get-WfaConfiguration                               WFA                                 

Cmdlet          Get-WfaCredentials                                 WFA                                 

Cmdlet          Get-WfaInputPassword                               WFA                                 

Cmdlet          Get-WFALogger                                      WFA                                 

Cmdlet          Get-WfaRestParameter                               WFA                                 

Cmdlet          Get-WfaVendor                                      WFA                                 

Cmdlet          Get-WfaVersion                                     WFA                                 

Cmdlet          Get-WfaWorkflowParameter                           WFA                                 

Cmdlet          Set-WfaCommandProgress                             WFA

Now you have got all the command names available in the module.

4. Type

Get-Help Get-WFALogger

NAME

    Get-WFALogger

   

SYNTAX

    Get-WFALogger -message <string> [-Error] [-Info] [-Warn]  [<CommonParameters>]

   

ALIASES

    None

   

REMARKS

    None

5. Now you can do this for any cmdlet to see its details. Do the same for WFAWrapper module as well.

Hope this helps.

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

View solution in original post

5 REPLIES 5

krishand
4,849 Views

Here is a link to the workflow developer's guide. (https://library.netapp.com/ecm/ecm_get_file/ECMP1206601) This document should have relevant information on maintaining and developing workflows.

Alternatively, if you have WFA installed you could take a look at the "reference manual" from Help -> Reference Manual.

Thanks,

krish

stephen2
4,849 Views

yes, I've looked in both. The only thing I could find in the 2.2 doc is get & set-wfaparameter.

I am thinking the other WFA commands should be documented somewhere

sinhaa
4,850 Views

Stephen, your feedback is taken and it will be available in future WFA releases. Now for the time being you can do the following.

If you don't mind reading some documentation on a Powershell ISE cmd window then you can do this. It may not give the entire explanation, but should help you in using them.

WFA cmdlets are placed in the following 2 modules

1. WFA

2. WFAWrapper

ON Powershell 2.0 and above

1. Open powershell ISE or powershell windows

2. Import-module <WFA_install_location>\WFA\PoSH\profile.ps1

3. List the commands available for the 2 modules

PS C:\Users\Administrator> Get-Command -Module WFA

CommandType     Name                                               ModuleName                          

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

Cmdlet          Add-WfaWorkflowParameter                           WFA                                 

Cmdlet          Copy-NaVM                                          WFA                                 

Cmdlet          Get-WfaConfiguration                               WFA                                 

Cmdlet          Get-WfaCredentials                                 WFA                                 

Cmdlet          Get-WfaInputPassword                               WFA                                 

Cmdlet          Get-WFALogger                                      WFA                                 

Cmdlet          Get-WfaRestParameter                               WFA                                 

Cmdlet          Get-WfaVendor                                      WFA                                 

Cmdlet          Get-WfaVersion                                     WFA                                 

Cmdlet          Get-WfaWorkflowParameter                           WFA                                 

Cmdlet          Set-WfaCommandProgress                             WFA

Now you have got all the command names available in the module.

4. Type

Get-Help Get-WFALogger

NAME

    Get-WFALogger

   

SYNTAX

    Get-WFALogger -message <string> [-Error] [-Info] [-Warn]  [<CommonParameters>]

   

ALIASES

    None

   

REMARKS

    None

5. Now you can do this for any cmdlet to see its details. Do the same for WFAWrapper module as well.

Hope this helps.

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

abhit
4,850 Views

You can also open the file in notepad to understand the commandlets:

C:\Program Files\NetApp\WFA\PoSH\Modules\WFAWrapper\WFAWrapper.psm1.

Regards
Abhi

stephen2
4,849 Views

Exactly what I was looking for. Thanks guys

Public