TestimoX

API Reference

Command

Import-CxPolToRegistry

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
System.Boolean

Imports values from a registry.pol file into the live registry.

Examples

Authored help example

Example 1


Import-CxPolToRegistry -Path .\Registry.pol -ComputerName SERVER01
        

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

Import-CxPolToRegistry -Path <string> [-ComputerName <string>] [<CommonParameters>]
#

Parameters

Path string requiredposition: 0pipeline: false
File system path to the target resource.
ComputerName string optionalposition: 1pipeline: true (ByPropertyName)
Target computer(s). Use '.' for local computer or provide DNS names.

Outputs

System.Boolean