If you create a new command and you press the button "discover parameters", you might get the error "Parameter Type 'ActionPreference' is not supported".
Don't panic, there is an easy fix.
If you get this error :

That means you have installed powershell v5.
Here is the fix :
- Open File <WFA_INSTALL_DIR>\PoSH\Modules\WFAWrapper\WFAWrapper.psm1 ( <WFA_INSTALL_DIR> by default is C:\Program Files\NetApp\WFA )
- Search for line if ($param.aliases -match "vb|db|ea|wa|ev|wv|ov|ob|wi|cf") { continue }
- Change the above line to if ($param.aliases -match "vb|db|ea|wa|ev|wv|ov|ob|wi|cf|infa|iv|pv") { continue }
No comments :
Post a Comment