Subido por zadovilla.zv

Comandos powershell

Anuncio
ejecutar archivo powershell
Powershell.exe -executionpolicy remotesigned -File "C:\Windows\mars.ps1"
actualizar aplicaciones
winget upgrade --all -h
abrir archivo o programa
start -NoNewWindow "poner ruta archivo/programa"
start -NoNewWindow poner ruta archivo/programa
-NoNewWindow -WindowStyle Minimized
start "C:\Windows\System32\Taskmgr.exe"
cd poner ruta carpeta:
start "nombre carpeta"
abrir pagina web:
start https://
start http://
start http://www.
TIMEOUT /T tiempo
start "C:\Windows\System32\Taskmgr.exe"
taskkill /IM "Name.exe" /F
con privilegio programador de tareas
C:\Windows\System32\schtasks.exe /RUN /TN "\nombre"
Descargar