Get-CMConfigurationPolicyXml
Gets a configuration policy xml.
Syntax
Get-CMConfigurationPolicyXml
[[-Name] <String>]
[-CategoryInstanceType <String>]
[<CommonParameters>]
Get-CMConfigurationPolicyXml
[-Id] <Int32>
[-CategoryInstanceType <String>]
[<CommonParameters>]
Get-CMConfigurationPolicyXml
[-InputObject] <IResultObject>
[-CategoryInstanceType <String>]
[<CommonParameters>]
Description
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
Examples
Example 1
PS XYZ:\>
Parameters
-CategoryInstanceType
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Type: | Int32 |
Aliases: | CIId, CI_ID |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Type: | IResultObject |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
Inputs
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
Outputs
System.Object