tags:

views:

49

answers:

1

Ok I'm losing it. Powershell is annoying me. I'd like a pause dialog to appear and it won't.

PS W:\>>> $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
Exception calling "ReadKey" with "1" argument(s): "The method or operation is not implemented."
At line:1 char:23
+ $host.UI.RawUI.ReadKey <<<< ("NoEcho")
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException
+2  A: 

I assume that you want to read input from the console if so use Read-Host

rerun