Automatización, PowerShell, Programación