1 2 3 4 5 6 7 8 9 10 11 12 13 |
#Utilice SendKeys para enviar pulsaciones de teclas y combinaciones de teclas a la aplicación activa #ctrl+esc [System.Windows.Forms.SendKeys]::SendWait("^({ESC})") #Notepad [System.Windows.Forms.SendKeys]::SendWait("notepad") #Sleep 4 seconds Start-Sleep -Seconds 4 #ENTER [System.Windows.Forms.SendKeys]::SendWait("{ENTER}") |