Get-AzureRemoteAppSession
コレクションのすべてのアクティブな Azure RemoteApp セッションと切断された Azure RemoteApp セッションを一覧表示します。
注意
このドキュメントで参照されているコマンドレットは、Service Management API を使用するレガシ Azure リソースを管理するためのものです。 Azure Resource Manager リソースを管理するためのコマンドレットについては、Az PowerShell モジュールを参照してください。
構文
Get-AzureRemoteAppSession
[-CollectionName] <String>
[[-UserUpn] <String>]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
説明
Get-AzureRemoteAppSession コマンドレットは、Azure RemoteApp コレクションのアクティブな Azure RemoteApp セッションと切断された Azure RemoteApp セッションをすべて一覧表示します。
例
例 1: コレクション内のすべてのセッションを一覧表示する
PS C:\> Get-AzureRemoteAppSession -CollectionName "ContosoApps"
このコマンドは、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
Azure RemoteApp セッションを取得するユーザーのユーザー プリンシパル名 (UPN) を指定します。 たとえば、UPN の形式 PattiFuller@contoso.comは次のようになります。
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |