Version 3 hasn't got Readkey() implemented


the following code:

$x = $host.ui.rawui.readkey("noecho,includekeydown")

...works in version 2 session, gives following error in version 3:

exception calling "readkey" "1" argument(s): "the method or operation not implemented."
@ line:1 char:1
+ $key = $host.ui.rawui.readkey("noecho,includekeydown")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + categoryinfo          : notspecified: (:) [], methodinvocationexception
    + fullyqualifiederrorid : notimplementedexception

 

can else verify 'issue'?


([string](0..9|%{[char][int](32+("39826578846355658268").substring(($_*2),2))})).replace(' ','')

i receive same error on v3 ctp2.  suggest posting connect.microsoft.com new bug.
rich prescott | infrastructure architect, windows engineer , powershell blogger | mcitp, mcts, mcp

engineering efficiency
@rich_prescott
client system administration tool
ad user creation tool


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file