Copy-CMUserDataAndProfileConfigurationItem
Copy-CMUserDataAndProfileConfigurationItem
Creates a copy of a user data and profile configuration item.
Syntax
Parameter Set: SearchByNameMandatory
Copy-CMUserDataAndProfileConfigurationItem -Name <String[]> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Copy-CMUserDataAndProfileConfigurationItem -Id <String[]> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Copy-CMUserDataAndProfileConfigurationItem -InputObject <IResultObject> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Copy-CMUserDataAndProfileConfigurationItem cmdlet creates a copy of a user data and profile configuration item. The new configuration item does not retain any relationship to the original configuration item. This means that the duplicate configuration item does not continue to inherit configuration information from the original configuration item.
User data and profile configuration items in Microsoft System Center 2012 SP1 Configuration Manager contain settings that can manage folder redirection, offline files, and roaming profiles on computers that run Windows® 8 for users in your hierarchy.
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 |
-NewName<String>
Specifies the name of the new user data and profile configuration item.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
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: Copy a user data and profile configuration item
This command creates a copy of the user data and profile configuration item named D01ConfigItem. The new user data and profile configuration item is named UDPConfig02.
PS C:\> Copy-CMUserDataAndProfileConfigurationItem -NewName "UDPConfig02" -Name "D01ConfigItem"
Related topics
Get-CMUserDataAndProfileConfigurationItem