Get-CMConfigurationPolicyXml

Gets a configuration policy xml

Syntax

Get-CMConfigurationPolicyXml
   [-Id] <Int32>
   [-CategoryInstanceType <String>]
   [<CommonParameters>]
Get-CMConfigurationPolicyXml
   [-InputObject] <IResultObject>
   [-CategoryInstanceType <String>]
   [<CommonParameters>]
Get-CMConfigurationPolicyXml
   [[-Name] <String>]
   [-CategoryInstanceType <String>]
   [<CommonParameters>]

Examples

Example 1

PS C:\>

Required Parameters

-Id
Type:Int32
Aliases:CIId, CI_ID
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject
Type:IResultObject
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-CategoryInstanceType
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name
Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object