Simulate keys with powershell code example Example: Simulate keys with powershell $wshell = New-Object -ComObject wscript.shell $wshell.sendkeys('A')