Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
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
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
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
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
I suggest you raise a bug with WFA. WFA will need to support the latest version of Powershell.
sinhaa
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.
Parag