Get Gpo Backup
get_gpo_backupExport a Group Policy Object to a specified backup path without changing its configuration, capturing policy, security, and WMI filter settings for later restore.
Instructions
Create a backup of a Group Policy Object to a specified path.
Exports the GPO settings to a backup folder using Backup-GPO. The backup includes all policy settings, security settings, and WMI filters. It does NOT modify any GPO configuration — this is a read-only export operation.
The backup can later be used to restore the GPO with Restore-GPO (outside the scope of this read-only server).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_gpo_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | GPO display name. Provide either this or gpo_id. | |
| gpo_id | No | GPO GUID string. Provide either this or name. | |
| backup_path | No | Filesystem path for the backup directory. Defaults to the value of the GPO_BACKUP_PATH environment variable (default: C:\GPOBackups). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||