Copy-CMClientAuthCertificateProfileConfigurationItem
Copy-CMClientAuthCertificateProfileConfigurationItem
Renames a certificate profile.
Syntax
Parameter Set: SearchByNameMandatory
Copy-CMClientAuthCertificateProfileConfigurationItem -Name <String[]> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Copy-CMClientAuthCertificateProfileConfigurationItem -Id <String[]> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Copy-CMClientAuthCertificateProfileConfigurationItem -InputObject <IResultObject> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Copy-CMClientAuthCertificateProfileConfigurationItem cmdlet renames a certificate profile. Client computers use certificate profiles to authenticate when they use services such as a virtual private network (VPN) or a wireless network.
Parameters
-Id<String[]>
Specifies an array of IDs of certificate profiles.
Aliases |
CIId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
Specifies a certificate profile object. To obtain a certificate profile object, use the Get-CMClientAuthCertificateProfileConfigurationItem 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 certificate profiles.
Aliases |
LocalizedDisplayName |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-NewName<String>
Specifies a new name for the certificate profile.
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: Rename a certificate profile
This command renames the certificate profile named VPN_Certificate.
PS C:\> Copy-CMClientAuthCertificateProfileConfigurationItem -Name "VPN_Certificate" -NewName "VPN_Certificate_Contoso"
Related topics
Get-CMClientAuthCertificateProfileConfigurationItem
New-CMClientAuthCertificateProfileConfigurationItem