Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I may have broken my WFA 3.1 install. I was working on a command block and when I attempted to discover parameters I got an error. I decided to check and this now happens with every code block, the ones I have created and the certified ones.
If I select designer --> commands --> Modify Volume --> edit --> discover parameters I get the error seen below
If you cant see the image it says "Parameter Type 'ActionPreference' is not supported.
Thanks,
Matt
Solved! See The Solution
1 ACCEPTED SOLUTION
MatthewN has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the Windows Powershell version? You can see it by opening a Powershell ISE console and
PS H:\> $Host.Version
Major Minor Build Revision
----- ----- ----- --------
PS H:\>
WFA as of now has been verified for Powershell version 3.0 which comes by default with Windows 2012 R2. For higher versions, discover parameters can thrown some error.
1. You'll have an unwanted 'Pipeline Variable' coming up on Powershell version 4.0 which is a known issue.
I haven't tried with Posh v5.0
sinhaa
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
4 REPLIES 4
MatthewN has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the Windows Powershell version? You can see it by opening a Powershell ISE console and
PS H:\> $Host.Version
Major Minor Build Revision
----- ----- ----- --------
PS H:\>
WFA as of now has been verified for Powershell version 3.0 which comes by default with Windows 2012 R2. For higher versions, discover parameters can thrown some error.
1. You'll have an unwanted 'Pipeline Variable' coming up on Powershell version 4.0 which is a known issue.
I haven't tried with Posh v5.0
sinhaa
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are correct, I am currently using PS 5 and I even updated the version of PS in the WFA installation folder.
Thank you for your helpful and prompt reply.
Thanks,
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suggest you raise a bug with WFA. WFA will need to support the latest version of Powershell.
sinhaa
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is being fixed in WFA 4.1. If you want discover parameters to work with PowerShell 5.0 in your version of WFA you will have to make a small change on WFA server.
- 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 }
Parag
