Quantcast
Viewing all articles
Browse latest Browse all 47

Setup GPO Logon script using powershell

I have my logon script setup in GPO and looks like it wont work.

The script was tested running good.

My question is that do I have to change -ExcutionPolicy on all Client PCs? the target PC I tested against, I setup -ExcutionPolicy Restrict. Then I use -ExcutionPolicy bypass when I setup Parameter in Logon script.

Where did I do wrong?

My domain controller is 2008R2, Clients are Windows7, Powershell 2.0 at least

Image may be NSFW.
Clik here to view.
enter image description here


Viewing all articles
Browse latest Browse all 47

Trending Articles