Set-CMRemoteConnectionProfileConfigurationItem

Set-CMRemoteConnectionProfileConfigurationItem

Modifies a remote connection profile.

構文

Parameter Set: SetByName
Set-CMRemoteConnectionProfileConfigurationItem -Name <String[]> [-Description <String> ] [-EnableNLA <Boolean> ] [-EnablePrimaryUsers <Boolean> ] [-EnableTSConnection <Boolean> ] [-EnableTSFirewallRule <Boolean> ] [-NewName <String> ] [-RDGatewayServer <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetById
Set-CMRemoteConnectionProfileConfigurationItem -Id <String[]> [-Description <String> ] [-EnableNLA <Boolean> ] [-EnablePrimaryUsers <Boolean> ] [-EnableTSConnection <Boolean> ] [-EnableTSFirewallRule <Boolean> ] [-NewName <String> ] [-RDGatewayServer <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByValue
Set-CMRemoteConnectionProfileConfigurationItem -InputObject <IResultObject> [-Description <String> ] [-EnableNLA <Boolean> ] [-EnablePrimaryUsers <Boolean> ] [-EnableTSConnection <Boolean> ] [-EnableTSFirewallRule <Boolean> ] [-NewName <String> ] [-RDGatewayServer <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-CMRemoteConnectionProfileConfigurationItem cmdlet modifies a remote connection profile. Client computers use remote connection profiles to remotely connect to computers from outside the domain or over the Internet.

パラメーター

-Description<String>

Specifies a description for a remote connection profile.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-EnableNLA<Boolean>

Indicates whether to allow connections only from computers that run Remote Desktop by using Network Level Authentication.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-EnablePrimaryUsers<Boolean>

Indicates whether all primary users of the client computer are allowed to remotely connect. If you specify a value for this parameter, you must specify values for the EnableTSConnection and EnableTSFirewallRule parameters.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-EnableTSConnection<Boolean>

Indicates whether to allow remote connections to client computers. If you specify a value for this parameter, you must specify values for the EnablePrimaryUsers and EnableTSFirewallRule parameters.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-EnableTSFirewallRule<Boolean>

Indicates whether to allow Windows Firewall exceptions for connections in Windows domains and on private networks. If you specify a value for this parameter, you must specify values for the EnablePrimaryUsers and EnableTSConnections parameters.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Id<String[]>

Specifies an array of IDs for remote connection profiles.

エイリアス

CIId

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-InputObject<IResultObject>

Specifies a remote connection profile object. To obtain a remote connection profile, use the Get-CMRemoteConnectionProfileConfigurationItem cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String[]>

Specifies an array of names of remote connection profiles.

エイリアス

LocalizedDisplayName

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-NewName<String>

Specifies the new name for the remote connection profile.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-RDGatewayServer<String>

Specifies the host name and port of the Remote Desktop gateway server, for example, Boston.gateway.Contoso.com:8080.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

関連トピック

Copy-CMRemoteConnectionProfileConfigurationItem

Get-CMRemoteConnectionProfileConfigurationItem

New-CMRemoteConnectionProfileConfigurationItem

Remove-CMRemoteConnectionProfileConfigurationItem