PowerShell Script que ejecuta el contenido del fichero PowerShell gc scripts.txt | %{Invoke-Expression $_} 1 gc scripts.txt | %{Invoke-Expression $_} Fichero scripts.txt que contiene los cmdlets o scripts PowerShell Read-Host "Nombre proceso" | Out-File nombreproceso.txt 1 Read-Host "Nombre proceso" | Out-File nombreproceso.txt