Command
Invoke-GPOZaurrSupport
Invokes GPOZaurrSupport function to retrieve Group Policy information.
Syntax
Invoke-GPOZaurrSupport
[[-ComputerName] <String>]
[-Online]
[[-Path] <String>]
[-PreventShow]
[[-Splitter] <String>]
[[-Type] <NativeHTML| HTML| XML| Object>]
[[-UserName] <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
This function retrieves Group Policy information using either HTML, XML, or Object format. It can be run locally or on a remote computer.
Examples
Example 1
Invoke-GPOZaurrSupport -Type HTML -ComputerName "RemoteComputer" -UserName "Admin" -Path (Join-Path $env:TEMP 'GPOReport.html')
Retrieves Group Policy information in HTML format from a remote computer and saves it to a specified path.Example 2
Invoke-GPOZaurrSupport -Type XML -Path (Join-Path $env:TEMP 'GPOReport.xml') -Online
Retrieves the latest Group Policy information in XML format and saves it to a specified path.Parameters
- -ComputerName String
- Specifies the name of the remote computer to retrieve Group Policy information from.
- -Online SwitchParameter
- Runs the function online to retrieve the latest Group Policy information.
- -Path String
- Specifies the path to save the output file. If not provided, a temporary file will be created.
- -PreventShow SwitchParameter
- Prevents displaying the output in the console.
- -Splitter String
- Specifies the delimiter for splitting output data. Default is a new line.
- -Type String
- Specifies the type of output format. Valid values are 'NativeHTML', 'HTML', 'XML', or 'Object'. Default is 'HTML'.
- Possible values:
NativeHTML,HTML,XML,Object - -UserName String
- Specifies the username to run the function as on the remote computer.
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.