API Reference
Command
Save-ADXLgpo
Saves Local GPO to a folder (Machine/User and optional per-user SIDs).
Examples
Example 1: Backup Machine and User LGPO
Save-ADXLgpo C:\LGPOBackup -IncludeMachine -IncludeUser
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Save-ADXLgpo -Path <string> [-IncludeMachine] [-IncludePerUserSid <string[]>] [-IncludeUser] [<CommonParameters>]#Parameters
- Path string
- Destination folder for the backup.
- IncludeMachine SwitchParameter
- Include Machine portion of LGPO.
- IncludePerUserSid string[]
- Optional per-user SIDs (MLGPO) to include.
- IncludeUser SwitchParameter
- Include User portion of LGPO.