Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Copy-CMRemoteConnectionProfileConfigurationItem

System Center 2012 R2

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Copy-CMRemoteConnectionProfileConfigurationItem

Renames a remote connection profile.

Syntax

Parameter Set: SearchByNameMandatory
Copy-CMRemoteConnectionProfileConfigurationItem -Name <String[]> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Copy-CMRemoteConnectionProfileConfigurationItem -Id <String[]> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Copy-CMRemoteConnectionProfileConfigurationItem -InputObject <IResultObject> -NewName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Copy-CMRemoteConnectionProfileConfigurationItem cmdlet renames a remote connection profile.

Parameters

-Id<String[]>

Specifies an array of IDs for remote connection profiles.


Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a remote connection profile object. To obtain a remote connection profile, use the Get-CMRemoteConnectionProfileConfigurationItem 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 remote connection 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 remote connection 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 executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


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.

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 profile

This command renames the remote connection profile named Corp_RD_Gateway.


PS C:\> Copy-CMRemoteConnectionProfileConfigurationItem -Name "Corp_RD_Gateway" -NewName "Corp_Remote_Gateway"

Related topics

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.