Hi,
I need to create a scheduled task and run it on the Domain Controllers each night to backup the Group Policies using a script. The resultant GPO backup will be placed on a file server share. The GPO’s will be need to be kept on disk for 30 days after which they will be deleted as part of the scheduled task.
Can you help me writing the script and how achieve the requirements above?