PowerShell PowerShell $WScript=New-Object -ComObject WScript.Shell $Proceso=(Get-Process notepad).MainWindowTitle $WScript.AppActivate($Proceso) 123 $WScript=New-Object -ComObject WScript.Shell$Proceso=(Get-Process notepad).MainWindowTitle$WScript.AppActivate($Proceso)