API Reference
Command
Get-CxLgpoPol
Gets LGPO (registry.pol) content for Machine or User scope.
Examples
Example 1
Get-CxLgpoPol -Scope Machine -AsJson -OutFile .\machine.pol.json
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
Get-CxLgpoPol [-ComputerName <string>] -Scope <string> [-AsJson] [-OutFile <string>] [<CommonParameters>]#Parameters
- ComputerName string
- Target computer(s). Use '.' for local computer or provide DNS names.
- Scope string
- Gets or sets the Scope parameter.
- AsJson SwitchParameter
- Gets or sets the AsJson parameter.
- OutFile string
- Gets or sets the OutFile parameter.
Outputs
ComputerX.Lgpo.LgpoPolItem[]