Powershell Script To Take Backup Of Group Policies
Query King | Sun, 13 Aug 2017 at 06:54 hours | Replies : 1 | Points : 100
Category : Active Directory
Powershell Script to take backup of Group Policies
This Question is already solved Click To See The Answer
Solved
Hi,
we can use this PS scirt to take backup.
Import-Module grouppolicy $date = get-date -format M.d.yyyy New-Item -Path \\server\c$\Backup\GroupPolicies\$date -ItemType directory Backup-Gpo -All -Path \\server\c$\Backup\GroupPolicies\$date