Get-AzWvdAppAttachPackage
Get an app attach package.
Syntax
Get-AzWvdAppAttachPackage
[-SubscriptionId <String[]>]
[-Filter <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdAppAttachPackage
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdAppAttachPackage
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-Filter <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWvdAppAttachPackage
-InputObject <IDesktopVirtualizationIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get an app attach package.
Examples
Example 1: Get an Azure Virtual Desktop App Attach Package by Name
Get-AzWvdAppAttachPackage -SubscriptionId subscriptionId -ResourceGroupName resourceGroupName -Name packageName1
Location Name Type
-------- ---- ----
eastus packageName1 Microsoft.DesktopVirtualization/appattachpackages
This command gets an Azure Virtual Desktop App Attach Packages by name.
Example 2: List all Azure Virtual Desktop App Attach Packages in a resource group
Get-AzWvdAppAttachPackage -SubscriptionId subscriptionId -ResourceGroupName resourceGroupName
Location Name Type
-------- ---- ----
eastus packageName1 Microsoft.DesktopVirtualization/appattachpackages
eastus packageName2 Microsoft.DesktopVirtualization/appattachpackages
This command lists Azure Virtual Desktop App Attach Packages in a subscription.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Filter
OData filter expression. Valid properties for filtering are package name and host pool.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter
Type: | IDesktopVirtualizationIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The name of the App Attach package
Type: | String |
Aliases: | AppAttachPackageName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription. The value must be an UUID.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
IDesktopVirtualizationIdentity
Outputs
Azure PowerShell