Get-CMUserDataAndProfileConfigurationItemXmlDefinition
Get-CMUserDataAndProfileConfigurationItemXmlDefinition
Gets the XML definition file for user data and profile configuration items.
Syntax
Parameter Set: SearchByNameMandatory
Get-CMUserDataAndProfileConfigurationItemXmlDefinition -Name <String[]> [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMUserDataAndProfileConfigurationItemXmlDefinition -Id <String[]> [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Get-CMUserDataAndProfileConfigurationItemXmlDefinition -InputObject <IResultObject> [ <CommonParameters>]
Detailed Description
The Get-CMUserDataAndProfileConfigurationItemXmlDefinition cmdlet gets the XML definition file for user data and profile configuration items in Microsoft System Center 2012 Configuration Manager. This information can be useful when you want to author configuration data manually.
Parameters
-Id<String[]>
Specifies an array of IDs of user data and profile configuration items.
Aliases |
CIId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
Specifies a CMUserDataAndProfileConfigurationItem object. To obtain a CMUserDataAndProfileConfigurationItem object, use the Get-CMUserDataAndProfileConfigurationItem cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String[]>
Specifies an array of names of user data and profile configuration items.
Aliases |
LocalizedDisplayName |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get the XML definition file for a user data and profile configuration item
This command gets the XML definition file for the user data and profile configuration item named UDPConfig02.
PS C:\> Get-CMUserDataAndProfileConfigurationItemXmlDefinition -Name "UDPConfig02"
Related topics
Get-CMUserDataAndProfileConfigurationItem