group policy startup script doesn't work

Answered group policy startup script doesn't work

  • Samstag, 16. Februar 2013 17:05
     
     

    hi friends

    in my test lab , i have a dc (win2008 R2) and a some member servers ( win2008 R2) and i need to install some roles and features on my servers centrally ( via domain group policy startup scripts )

    in gpmc.msc--> default domain policy--> startup scripts--> powershell scripts , i assigned the myscript.ps1 that contains this cmdlets :

    import-module servermanager

    add-windowsfeature telnet-server,telnet-client,wireless-networking

    but after i restart this member servers , this features (telnet-server,telnet-client,wireless-networking) haven't been installed.

    even i have ran this command in my member servers :    set-executionPolicy unrestricted

    what is the problem plz ?

    thanks in advance

Alle Antworten