Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Loss of popup "gui" after upgrading ti Powershell v3.0

$
0
0

Hi there

I've just upgrade my power

shell to v3.0 and when I ran a script that uses parameters, I no longer get the popup box which displays the name of variable, with an input box and the helpmessage underneath.  Now all I get is the code running in the command window, and if I want to view the HelpMessage I have to type !?

Where's it gone?

Regards

Ian

PS Example code snippet below

Param (

[Parameter(Position=0,Mandatory=$True,HelpMessage="Please enter foldername in proper format")]

[ValidateNotNullOrEmpty()]

[string]$name)


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>