Run Powershell Scripts from GPO

By Andrei Ungureanu - Last updated: Tuesday, October 27, 2009 - Save & Share - Leave a Comment

Nou in Windows 2008R2 & 7 putem face deployment la scripturi Powershell (startup sau logon):

image

Scriptul cu extensia ps1 se copiaza in folderul scripts asociat cu politica si se adauga cu Add, fara powershell.exe in fata.

Pe sistemul meu de test am avut setat deja Set-ExecutionPolicy Unrestricted. Dupa asta am setat sistemul si pe AllSigned si scriptul ruleaza fara probleme 🙂

Posted in Active Directory, Scripting • Tags: , Top Of Page

Write a comment