Disconnect-AzureRemoteAppSession
Azure RemoteApp セッションを切断します。
注意
このドキュメントで参照されているコマンドレットは、Service Management API を使用するレガシ Azure リソースを管理するためのものです。 Azure Resource Manager リソースを管理するためのコマンドレットについては、Az PowerShell モジュールを参照してください。
構文
Disconnect-AzureRemoteAppSession
[-CollectionName] <String>
[-UserUpn] <String>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
説明
Disconnect-AzureRemoteAppSession コマンドレットは、ユーザーの Azure RemoteApp セッションを切断します。 ユーザーのクライアントは Azure RemoteApp セッションから切断されますが、ユーザーのプログラムは引き続き実行されます。
例
例 1: ユーザーのセッションを切断する
PS C:\> Disconnect-AzureRemoteAppSession -CollectionName "ContosoApps" -UserUpn "PattiFuller@contoso.com"
このコマンドは、UPN PattiFuller@contoso.comが指定されているユーザーの ContosoApps コレクション内の Azure RemoteApp セッションを切断します。
パラメーター
-CollectionName
Azure RemoteApp コレクションの名前を指定します。
Type: | String |
Aliases: | Name |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Profile
このコマンドレットが読み取る Azure プロファイルを指定します。 プロファイルを指定しない場合、このコマンドレットはローカルの既定のプロファイルから読み取ります。
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserUpn
たとえば PattiFuller@contoso.com、ユーザーのユーザー プリンシパル名 (UPN) を指定します。
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |