This blog has moved to http://ThePowerShellGuy.com
Greetings /\/\o\/\/
while playing with MY.Computer (see previous post)
I discovered another nice one :
it will work realtime (second time I did hold the SHIFT)
I'm sure this will be handy sometime :
MSH C:\> $mycomputer.keyboard
ShiftKeyDown : False
AltKeyDown : False
CtrlKeyDown : False
CapsLock : False
NumLock : False
ScrollLock : False
MSH C:\> $mycomputer.keyboard
ShiftKeyDown : True
AltKeyDown : False
CtrlKeyDown : False
CapsLock : False
NumLock : False
ScrollLock : False
gr /\/\o\/\/