Import-AzWvdAppAttachPackageInfo
Gets information from a package given the path to the package.
Syntax
Import-AzWvdAppAttachPackageInfo
-HostPoolName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-PackageArchitecture <String>]
[-Path <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Import-AzWvdAppAttachPackageInfo
-HostPoolName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-JsonString <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Import-AzWvdAppAttachPackageInfo
-HostPoolName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-JsonFilePath <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Import-AzWvdAppAttachPackageInfo
-HostPoolName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
-ImportPackageInfoRequest <IImportPackageInfoRequest>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Import-AzWvdAppAttachPackageInfo
-InputObject <IDesktopVirtualizationIdentity>
[-PackageArchitecture <String>]
[-Path <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Import-AzWvdAppAttachPackageInfo
-InputObject <IDesktopVirtualizationIdentity>
-ImportPackageInfoRequest <IImportPackageInfoRequest>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Gets information from a package given the path to the package.
Examples
Example 1: Creates an AppAttachPackage object from Package metadata found in AppxManifest.xml
Import-AzWvdAppAttachPackageInfo -HostPoolName HostPoolName `
-ResourceGroupName resourceGroupName `
-SubscriptionId SubscriptionId `
-Path ImagePathURI
Name Type
---- ----
importappattachpackageinfo Microsoft.DesktopVirtualization/appattachpackages
This command returns Metadata of MSIX Package found in the given Image Path.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-HostPoolName
The name of the host pool within the specified resource group
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ImportPackageInfoRequest
Information to import app attach package
Type: | IImportPackageInfoRequest |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InputObject
Identity Parameter
Type: | IDesktopVirtualizationIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-JsonFilePath
Path of Json file supplied to the Import operation
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JsonString
Json string supplied to the Import operation
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PackageArchitecture
Possible device architectures that an app attach package can be configured for
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Path
URI to Image
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
IDesktopVirtualizationIdentity