2016-04-11 09:22 AM
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.
Solved! SEE THE SOLUTION
2016-04-11 11:45 PM
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
----- ----- ----- --------
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
2016-09-30 03:07 AM
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.