How to deploy PowerShell script via group policy?
This forum contains useful scripts and script guidelines to have effective Windows Scripting

ManU
Founder
Founder
Posts: 98
Joined: Sat Sep 26, 2009 9:57 am
Location: India

How to deploy PowerShell script via group policy?

by ManU » Mon Feb 22, 2010 1:39 pm

If you want to deploy a PowerShell script on domain clients, how can you do it via group policy?

In Windows 7 and Windows Server 2008 R2, the UI in Group Policy Editor for Logon, Logoff, Startup, Shutdown scripts now has an extra tab for PowerShell scripts. You can simply add your PowerShell script to this tab to deploy it.

1. Create or edit a GPO on Windows Server 2008 R2 or Windows 7 with RSAT.

2. Navigate to [Computer Configuration\Policies\Windows Settings\Scripts]

Or [User Configuration\Policies\Windows Settings\Scripts]

3. Double-click Startup/Shutdown or Logon/Logoff, switch to PowerShell Scripts tab and add PowerShell script files.
Thanks
MANU PHILIP
Microsoft MVP(Exchange Server)
| MCITP | MCTS | MCSA | ITIL V3 |
TechNet Forums Profile: ManU

Users browsing this forum: No registered users and 1 guest

It is currently Wed May 24, 2017 1:57 am