In een artikel van Wilco van Bragt kwam ik het script BackupPolicy.vbs tegen. Dit artikel verwijst naar een post op brianmadden.com hier staat het script ook als download.
De volgende details over script zijn vrijgegeven:
The backup script is pretty straightforward. It allows you to parse two (optional) parameters:
- Logging detail level
- XML file name the policy information is written to
The restore script has some more parameters, all of which are optional. For example, you can:
- Specify the logging detail
- Whether or not to apply the policy filter
- Whether or not to overwrite a policy if it already exists
- The name of the XML file that you’re restoring (from the backup script)
- The policy name (if you only want to restore a subset of the policies in the XML file)
Nogmaals de link naar de download: VB-Script-to-Backup–Restore-CPS-policies