TestimoX

API Reference

Command

Export-CxPolToReg

Namespace ComputerX.PowerShell
Outputs
System.String

Exports a registry.pol file to .reg format.

Examples

Authored help example

Example 1


Export-CxPolToReg -Path .\Registry.pol -OutFile .\policy.reg
        

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

Export-CxPolToReg -Path <string> [-OutFile <string>] [-PassThru] [<CommonParameters>]
#

Parameters

Path string requiredposition: 0pipeline: false
File system path to the target resource.
OutFile string optionalposition: 1pipeline: false
Gets or sets the OutFile parameter.
PassThru SwitchParameter optionalposition: namedpipeline: false
Gets or sets the PassThru parameter.

Outputs

System.String