diff --git a/src/DesktopVirtualization/Az.DesktopVirtualization.format.ps1xml b/src/DesktopVirtualization/Az.DesktopVirtualization.format.ps1xml
index 8952f321f8f7..8897ae9ca940 100644
--- a/src/DesktopVirtualization/Az.DesktopVirtualization.format.ps1xml
+++ b/src/DesktopVirtualization/Az.DesktopVirtualization.format.ps1xml
@@ -20,6 +20,9 @@
+
+
+
@@ -51,6 +54,9 @@
HostPoolName
+
+ MsixPackageFullName
+ ResourceGroupName
@@ -72,9 +78,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.Application
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.Application
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.Application
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.Application
@@ -100,9 +106,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroup
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroup
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroup
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroup
@@ -134,9 +140,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupList
@@ -156,9 +162,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupPatch
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupPatch
@@ -184,9 +190,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupPatchProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupPatchProperties
@@ -212,9 +218,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupPatchTags
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupPatchTags
@@ -234,9 +240,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationGroupProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationGroupProperties
@@ -280,9 +286,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationList
@@ -302,12 +308,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationPatchProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationPatchProperties
+
+
+
@@ -329,6 +338,12 @@
+
+
+
+
+
+
@@ -336,6 +351,9 @@
+
+ ApplicationType
+ CommandLineArgument
@@ -357,6 +375,12 @@
IconPath
+
+ MsixPackageApplicationId
+
+
+ MsixPackageFamilyName
+ ShowInPortal
@@ -366,9 +390,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationPatchTags
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationPatchTags
@@ -388,12 +412,15 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ApplicationProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ApplicationProperties
+
+
+
@@ -421,6 +448,12 @@
+
+
+
+
+
+
@@ -428,6 +461,9 @@
+
+ ApplicationType
+ CommandLineArgument
@@ -455,6 +491,12 @@
IconPath
+
+ MsixPackageApplicationId
+
+
+ MsixPackageFamilyName
+ ShowInPortal
@@ -464,9 +506,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.CloudError
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.CloudErrorProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.CloudError
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.CloudErrorProperties
@@ -492,9 +534,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.Desktop
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.Desktop
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.Desktop
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.Desktop
@@ -520,9 +562,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopList
@@ -542,9 +584,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopPatchProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopPatchProperties
@@ -570,9 +612,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopPatchTags
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopPatchTags
@@ -592,9 +634,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.DesktopProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.DesktopProperties
@@ -632,9 +674,141 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPool
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ExpandMsixImage
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ExpandMsixImage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ExpandMsixImageList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ExpandMsixImageList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ExpandMsixImageProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ExpandMsixImageProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DisplayName
+
+
+ ImagePath
+
+
+ IsActive
+
+
+ IsRegularRegistration
+
+
+ LastUpdated
+
+
+ PackageAlias
+
+
+ PackageFamilyName
+
+
+ PackageFullName
+
+
+ PackageName
+
+
+ PackageRelativePath
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPool
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPool
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPool
@@ -666,9 +840,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolList
@@ -688,9 +862,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolPatch
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolPatch
@@ -716,9 +890,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolPatchProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolPatchProperties
@@ -746,9 +920,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -780,9 +969,24 @@
Ring
+
+ SsoClientId
+
+
+ SsoClientSecretKeyVaultPath
+ SsoContext
+
+ SsoSecretType
+
+
+ SsoadfsAuthority
+
+
+ VMTemplate
+ ValidationEnvironment
@@ -792,9 +996,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolPatchTags
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolPatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolPatchTags
@@ -814,9 +1018,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.HostPoolProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.HostPoolProperties
@@ -850,9 +1054,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -893,9 +1109,21 @@
Ring
+
+ SsoClientId
+
+
+ SsoClientSecretKeyVaultPath
+ SsoContext
+
+ SsoSecretType
+
+
+ SsoadfsAuthority
+ VMTemplate
@@ -908,9 +1136,305 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixImageUri
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixImageUri
+
+
+
+
+
+
+
+
+
+
+
+ Uri
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackage
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackage
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageApplications
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageApplications
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AppId
+
+
+ AppUserModelId
+
+
+ Description
+
+
+ FriendlyName
+
+
+ IconImageName
+
+
+ RawIcon
+
+
+ RawPng
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageDependencies
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageDependencies
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DependencyName
+
+
+ MinVersion
+
+
+ Publisher
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageList
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageList
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackagePatch
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackagePatch
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackagePatchProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackagePatchProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DisplayName
+
+
+ IsActive
+
+
+ IsRegularRegistration
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.MsixPackageProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DisplayName
+
+
+ ImagePath
+
+
+ IsActive
+
+
+ IsRegularRegistration
+
+
+ LastUpdated
+
+
+ PackageFamilyName
+
+
+ PackageName
+
+
+ PackageRelativePath
+
+
+ Version
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo
@@ -942,9 +1466,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfoPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfoPatch
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfoPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfoPatch
@@ -970,9 +1494,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ResourceProviderOperation
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ResourceProviderOperation
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ResourceProviderOperation
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ResourceProviderOperation
@@ -992,9 +1516,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ResourceProviderOperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ResourceProviderOperationDisplay
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ResourceProviderOperationDisplay
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ResourceProviderOperationDisplay
@@ -1032,9 +1556,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SendMessage
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SendMessage
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SendMessage
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SendMessage
@@ -1060,9 +1584,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHost
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHost
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHost
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHost
@@ -1088,9 +1612,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostList
@@ -1110,9 +1634,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostPatch
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostPatch
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostPatch
@@ -1138,9 +1662,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostPatchProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostPatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostPatchProperties
@@ -1166,9 +1690,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.SessionHostProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.SessionHostProperties
@@ -1266,9 +1790,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.StartMenuItem
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.StartMenuItem
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.StartMenuItem
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.StartMenuItem
@@ -1294,9 +1818,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.StartMenuItemList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.StartMenuItemList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.StartMenuItemList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.StartMenuItemList
@@ -1316,9 +1840,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.StartMenuItemProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.StartMenuItemProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.StartMenuItemProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.StartMenuItemProperties
@@ -1368,9 +1892,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.UserSession
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.UserSession
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.UserSession
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.UserSession
@@ -1396,9 +1920,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.UserSessionList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.UserSessionList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.UserSessionList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.UserSessionList
@@ -1418,9 +1942,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.UserSessionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.UserSessionProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.UserSessionProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.UserSessionProperties
@@ -1464,9 +1988,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.Workspace
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.Workspace
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.Workspace
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.Workspace
@@ -1498,9 +2022,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspaceList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspaceList
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspaceList
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspaceList
@@ -1520,9 +2044,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspacePatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspacePatchProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspacePatchProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspacePatchProperties
@@ -1554,9 +2078,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspacePatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspacePatchTags
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspacePatchTags
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspacePatchTags
@@ -1576,9 +2100,9 @@
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspaceProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspaceProperties
- Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.WorkspaceProperties
+ Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.WorkspaceProperties
diff --git a/src/DesktopVirtualization/Az.DesktopVirtualization.psd1 b/src/DesktopVirtualization/Az.DesktopVirtualization.psd1
index 739f433b0918..493546dc2221 100644
--- a/src/DesktopVirtualization/Az.DesktopVirtualization.psd1
+++ b/src/DesktopVirtualization/Az.DesktopVirtualization.psd1
@@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 2020-07-16
+# Generated on: 2020-11-10
#
@{
@@ -69,21 +69,24 @@ FormatsToProcess = './Az.DesktopVirtualization.format.ps1xml'
# NestedModules = @()
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
-FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Get-AzWvdApplication',
- 'Get-AzWvdApplicationGroup', 'Get-AzWvdDesktop', 'Get-AzWvdHostPool',
+FunctionsToExport = 'Disconnect-AzWvdUserSession', 'Expand-AzWvdMsixImage',
+ 'Get-AzWvdApplication', 'Get-AzWvdApplicationGroup',
+ 'Get-AzWvdDesktop', 'Get-AzWvdHostPool', 'Get-AzWvdMsixPackage',
'Get-AzWvdRegistrationInfo', 'Get-AzWvdSessionHost',
'Get-AzWvdStartMenuItem', 'Get-AzWvdUserSession',
'Get-AzWvdWorkspace', 'New-AzWvdApplication',
'New-AzWvdApplicationGroup', 'New-AzWvdHostPool',
- 'New-AzWvdRegistrationInfo', 'New-AzWvdWorkspace',
- 'Register-AzWvdApplicationGroup', 'Remove-AzWvdApplication',
- 'Remove-AzWvdApplicationGroup', 'Remove-AzWvdHostPool',
+ 'New-AzWvdMsixPackage', 'New-AzWvdRegistrationInfo',
+ 'New-AzWvdWorkspace', 'Register-AzWvdApplicationGroup',
+ 'Remove-AzWvdApplication', 'Remove-AzWvdApplicationGroup',
+ 'Remove-AzWvdHostPool', 'Remove-AzWvdMsixPackage',
'Remove-AzWvdRegistrationInfo', 'Remove-AzWvdSessionHost',
'Remove-AzWvdUserSession', 'Remove-AzWvdWorkspace',
'Send-AzWvdUserSessionMessage', 'Unregister-AzWvdApplicationGroup',
'Update-AzWvdApplication', 'Update-AzWvdApplicationGroup',
'Update-AzWvdDesktop', 'Update-AzWvdHostPool',
- 'Update-AzWvdSessionHost', 'Update-AzWvdWorkspace'
+ 'Update-AzWvdMsixPackage', 'Update-AzWvdSessionHost',
+ 'Update-AzWvdWorkspace'
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
@@ -121,10 +124,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Require Location property for creating top level arm objects.
- * Made `ApplicationGroupType` required for `New-AzWvdApplicationGroup`.
- * Made `HostPoolArmPath` required for `New-AzWvdApplicationGroup`.
- * Added `PreferredAppGroupType` for `New-AzWvdHostPool`.'
+ ReleaseNotes = '* Added new MSIX Package cmdlets and Updated Applications cmdlets.'
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/DesktopVirtualization/Az.DesktopVirtualization.psm1 b/src/DesktopVirtualization/Az.DesktopVirtualization.psm1
index c856491c994a..9d1f4fa3577a 100644
--- a/src/DesktopVirtualization/Az.DesktopVirtualization.psm1
+++ b/src/DesktopVirtualization/Az.DesktopVirtualization.psm1
@@ -24,17 +24,17 @@
}
}
if(-not $accountsModule) {
- $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.7.4' } | Measure-Object).Count -gt 0
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'1.8.1' } | Measure-Object).Count -gt 0
if($hasAdequateVersion) {
- $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.7.4 -Scope Global -PassThru
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 1.8.1 -Scope Global -PassThru
}
}
}
if(-not $accountsModule) {
- Write-Error "`nThis module requires $accountsName version 1.7.4 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
- } elseif (($accountsModule.Version -lt [System.Version]'1.7.4') -and (-not $localAccounts)) {
- Write-Error "`nThis module requires $accountsName version 1.7.4 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'1.8.1') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 1.8.1 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to remove '.PSSharedModules' in your home directory. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
}
Write-Information "Loaded Module '$($accountsModule.Name)'"
diff --git a/src/DesktopVirtualization/ChangeLog.md b/src/DesktopVirtualization/ChangeLog.md
index b33daf82e622..bb139e4a2eaf 100644
--- a/src/DesktopVirtualization/ChangeLog.md
+++ b/src/DesktopVirtualization/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Added new MSIX Package cmdlets and updated Applications cmdlets.
## Version 2.0.0
* Require Location property for creating top level arm objects.
diff --git a/src/DesktopVirtualization/check-dependencies.ps1 b/src/DesktopVirtualization/check-dependencies.ps1
index 5cd7ab5c808f..513c52ca2fb5 100644
--- a/src/DesktopVirtualization/check-dependencies.ps1
+++ b/src/DesktopVirtualization/check-dependencies.ps1
@@ -21,13 +21,15 @@ if(-not $Isolated) {
return
}
-function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum) {
+function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
if($predicate) {
$module = Get-Module -ListAvailable -Name $moduleName
if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0)) {
$null = New-Item -ItemType Directory -Force -Path $path
Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
- if($versionMinimum) {
+ if ($requiredVersion) {
+ Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
+ }elseif($versionMinimum) {
Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
} else {
Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
@@ -44,8 +46,8 @@ if(Test-Path -Path $localModulesPath) {
$env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
}
-DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.7.4'
-DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -versionMinimum ''
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '1.8.1'
+DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
$tools = Join-Path $PSScriptRoot 'tools'
$resourceDir = Join-Path $tools 'Resources'
diff --git a/src/DesktopVirtualization/custom/Get-AzWvdRegistrationInfo.ps1 b/src/DesktopVirtualization/custom/Get-AzWvdRegistrationInfo.ps1
index cf21e1cab2be..16a2d90563c8 100644
--- a/src/DesktopVirtualization/custom/Get-AzWvdRegistrationInfo.ps1
+++ b/src/DesktopVirtualization/custom/Get-AzWvdRegistrationInfo.ps1
@@ -20,7 +20,7 @@ Get the Windows virtual desktop registration info.
Get the Windows virtual desktop registration info.
#>
function Get-AzWvdRegistrationInfo {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo')]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter()]
@@ -89,7 +89,7 @@ function Get-AzWvdRegistrationInfo {
process {
$hostpool = Az.DesktopVirtualization\Get-AzWvdHostPool @PSBoundParameters
- New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo' `
+ New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo' `
-Property @{ `
ExpirationTime = $hostpool.RegistrationInfoExpirationTime; `
RegistrationTokenOperation = $hostpool.RegistrationInfoRegistrationTokenOperation; `
diff --git a/src/DesktopVirtualization/custom/New-AzWvdMsixpackage_PackageAlias.ps1 b/src/DesktopVirtualization/custom/New-AzWvdMsixpackage_PackageAlias.ps1
new file mode 100644
index 000000000000..24ffe72ddcfa
--- /dev/null
+++ b/src/DesktopVirtualization/custom/New-AzWvdMsixpackage_PackageAlias.ps1
@@ -0,0 +1,158 @@
+function New-AzWvdMsixPackage_PackageAlias {
+
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage')]
+ [CmdletBinding( PositionalBinding = $false, ConfirmImpact = 'Medium')]
+ param(
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials},
+
+ # Required to run the command with a specified alias
+ [Parameter(Mandatory, HelpMessage = 'Subscription Id')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
+ [System.String]
+ ${SubscriptionId},
+
+ [Parameter(Mandatory, HelpMessage = 'Resource Group Name')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ ${ResourceGroupName},
+
+ [Parameter(Mandatory, HelpMessage = 'HostPool Name')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ ${HostPoolName},
+
+ [Parameter(Mandatory, HelpMessage = 'Package Alias from extract MSIX Image')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ ${PackageAlias},
+
+ [Parameter(HelpMessage = 'Is Active')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.Management.Automation.SwitchParameter]
+ ${IsActive},
+
+ [Parameter(HelpMessage = 'Is Regular Registration')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.Management.Automation.SwitchParameter]
+ ${IsRegularRegistration},
+
+ [Parameter(HelpMessage = 'Package Display Name')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ ${DisplayName},
+
+ # needed to run Expand MSIX Image
+ [Parameter(HelpMessage = 'Image Path to CIM/VHD')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ ${ImagePath}
+ )
+
+ process {
+ $saveHostPoolName = $null
+ if ($PSBoundParameters.ContainsKey("HostPoolName")) {
+ $saveHostPoolName = $PSBoundParameters["HostPoolName"]
+ }
+ $saveResourceGroupName = $null
+ if ($PSBoundParameters.ContainsKey("ResourceGroupName")) {
+ $saveResourceGroupName = $PSBoundParameters["ResourceGroupName"]
+ }
+ $saveSubscriptionId = $null
+ if ($PSBoundParameters.ContainsKey("SubscriptionId")) {
+ $saveSubscriptionId = $PSBoundParameters["SubscriptionId"]
+ }
+ $savePackageAlias = $null
+ if ($PSBoundParameters.ContainsKey("PackageAlias")) {
+ $savePackageAlias = $PSBoundParameters["PackageAlias"]
+ }
+ $saveImagePath = $null
+ if ($PSBoundParameters.ContainsKey("ImagePath")) {
+ $saveImagePath = $PSBoundParameters["ImagePath"]
+ }
+
+ $saveDisplayName = $null
+ if ($PSBoundParameters.ContainsKey("DisplayName")) {
+ $saveDisplayName = $PSBoundParameters["DisplayName"]
+ }
+
+ # clear
+ $null = $PSBoundParameters.Remove("HostPoolName")
+ $null = $PSBoundParameters.Remove("ResourceGroupName")
+ $null = $PSBoundParameters.Remove("SubscriptionId")
+ $null = $PSBoundParameters.Remove("ImagePath")
+ $null = $PSBoundParameters.Remove("PackageAlias")
+ $null = $PSBoundParameters.Remove("DisplayName")
+ $null = $PSBoundParameters.Remove("IsActive")
+ $null = $PSBoundParameters.Remove("IsRegularRegistration")
+
+ $extractPackage = Az.DesktopVirtualization\Expand-AzWvdMsixImage @PSBoundParameters -HostPoolName $saveHostPoolName `
+ -ResourceGroupName $saveResourceGroupName `
+ -SubscriptionId $saveSubscriptionId `
+ -Uri $saveImagePath `
+ | Where-Object { $_.PackageAlias -eq $savePackageAlias }
+
+ $null = $PSBoundParameters.Add("ResourceGroupName", $saveResourceGroupName)
+ $null = $PSBoundParameters.Add("SubscriptionId", $saveSubscriptionId)
+ $null = $PSBoundParameters.Add('FullName', $extractPackage.PackageFullName)
+ $null = $PSBoundParameters.Add("IsActive", $IsActive)
+ $null = $PSBoundParameters.Add("IsRegularRegistration", $IsRegularRegistration)
+
+ $package = New-AzWvdMsixPackage @PSBoundParameters -HostPoolName $saveHostPoolName `
+ -ImagePath $extractPackage.ImagePath `
+ -PackageName $extractPackage.PackageName `
+ -PackageFamilyName $extractPackage.PackageFamilyName `
+ -PackageRelativePath $extractPackage.PackageRelativePath `
+ -PackageDependency $extractPackage.PackageDependencies `
+ -Version $extractPackage.Version `
+ -LastUpdated $extractPackage.LastUpdated `
+ -PackageApplication $extractPackage.PackageApplication `
+ -DisplayName $saveDisplayName `
+
+ }
+}
\ No newline at end of file
diff --git a/src/DesktopVirtualization/custom/New-AzWvdRegistrationInfo.ps1 b/src/DesktopVirtualization/custom/New-AzWvdRegistrationInfo.ps1
index 60fd3d5f3dcd..155f9b59590a 100644
--- a/src/DesktopVirtualization/custom/New-AzWvdRegistrationInfo.ps1
+++ b/src/DesktopVirtualization/custom/New-AzWvdRegistrationInfo.ps1
@@ -20,7 +20,7 @@ Create Windows virtual desktop registration info.
Create Windows virtual desktop registration info.
#>
function New-AzWvdRegistrationInfo {
- [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IRegistrationInfo')]
+ [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IRegistrationInfo')]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter()]
@@ -111,7 +111,7 @@ function New-AzWvdRegistrationInfo {
-Ring $hostpool.Ring `
-ValidationEnvironment:$hostpool.ValidationEnvironment `
-PreferredAppGroupType $hostpool.PreferredAppGroupType
- New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo' `
+ New-Object -TypeName 'Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo' `
-Property @{ `
ExpirationTime = $hostpool.RegistrationInfoExpirationTime; `
RegistrationTokenOperation = $hostpool.RegistrationInfoRegistrationTokenOperation; `
diff --git a/src/DesktopVirtualization/examples/Expand-AzWvdMsixImage.md b/src/DesktopVirtualization/examples/Expand-AzWvdMsixImage.md
new file mode 100644
index 000000000000..56a8edf13983
--- /dev/null
+++ b/src/DesktopVirtualization/examples/Expand-AzWvdMsixImage.md
@@ -0,0 +1,14 @@
+### Example 1: Expands specified Image Path and retrieves Package metadata found in AppxManifest.xml
+```powershell
+PS C:\> Expand-AzWvdMsixImage -HostPoolName HostPoolName `
+ -ResourceGroupName resourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -Uri ImagePathURI
+
+Name Type
+---- ----
+HostPoolName/extractmsiximage Microsoft.DesktopVirtualization/hostpools/extractmsiximage
+```
+
+This command returns Metadata of MSIX Package found in the given Image Path.
+
diff --git a/src/DesktopVirtualization/examples/Get-AzWvdMsixPackage.md b/src/DesktopVirtualization/examples/Get-AzWvdMsixPackage.md
new file mode 100644
index 000000000000..184c1d69de4e
--- /dev/null
+++ b/src/DesktopVirtualization/examples/Get-AzWvdMsixPackage.md
@@ -0,0 +1,24 @@
+### Example 1: Get a MSIX Package by Name
+```powershell
+PS C:\> Get-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId -FullName PackageFullName
+
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName Microsoft.DesktopVirtualization/hostpools/msixpackages
+```
+
+This command gets a MSIX Package in a HostPool.
+
+### Example 2: List MSIX Packages
+```powershell
+PS C:\> Get-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId
+
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName1 Microsoft.DesktopVirtualization/hostpools/msixpackages
+HostPoolName/MSIXPackage_FullName2 Microsoft.DesktopVirtualization/hostpools/msixpackages
+HostPoolName/MSIXPackage_FullName3 Microsoft.DesktopVirtualization/hostpools/msixpackages
+```
+
+This command Lists MSIX Packages in a HostPool.
+
diff --git a/src/DesktopVirtualization/examples/Get-AzWvdWorkspace.md b/src/DesktopVirtualization/examples/Get-AzWvdWorkspace.md
index 9c2a806e255c..57d937bda413 100644
--- a/src/DesktopVirtualization/examples/Get-AzWvdWorkspace.md
+++ b/src/DesktopVirtualization/examples/Get-AzWvdWorkspace.md
@@ -1,6 +1,6 @@
-### Example 1: Get a Windows Virtual Desktop Worksapce by name
+### Example 1: Get a Windows Virtual Desktop Workspace by name
```powershell
-PS C:\> Get-AzWvdWorksapce -ResourceGroupName ResourceGroupName -Name WorkspaceName
+PS C:\> Get-AzWvdWorkspace -ResourceGroupName ResourceGroupName -Name WorkspaceName
Location Name Type
-------- ---- ----
@@ -11,7 +11,7 @@ This command gets a Windows Virtual Desktop Workspace in a Resource Group.
### Example 2: List Windows Virtual Desktop Workspaces
```powershell
-PS C:\> Get-AzWvdWorksapce -ResourceGroupName ResourceGroupName
+PS C:\> Get-AzWvdWorkspace -ResourceGroupName ResourceGroupName
Location Name Type
-------- ---- ----
diff --git a/src/DesktopVirtualization/examples/New-AzWvdHostPool.md b/src/DesktopVirtualization/examples/New-AzWvdHostPool.md
index c0621012a8eb..5c413230be3c 100644
--- a/src/DesktopVirtualization/examples/New-AzWvdHostPool.md
+++ b/src/DesktopVirtualization/examples/New-AzWvdHostPool.md
@@ -12,6 +12,10 @@ PS C:\> New-AzWvdHostPool -ResourceGroupName ResourceGroupName `
-MaxSessionLimit 5 `
-VMTemplate $null `
-SsoContext $null `
+ -SsoClientId $null `
+ -SsoClientSecretKeyVaultPath $null `
+ -SsoSecretType $null `
+ -SsoadfsAuthority $null `
-CustomRdpProperty $null `
-Ring $null `
-ValidationEnvironment:$false
@@ -37,6 +41,10 @@ PS C:\> New-AzWvdHostPool -ResourceGroupName ResourceGroupName `
-MaxSessionLimit 5 `
-VMTemplate $null `
-SsoContext $null `
+ -SsoClientId $null `
+ -SsoClientSecretKeyVaultPath $null `
+ -SsoSecretType $null `
+ -SsoadfsAuthority $null `
-CustomRdpProperty $null `
-Ring $null `
-ValidationEnvironment:$false
diff --git a/src/DesktopVirtualization/examples/New-AzWvdMsixPackage.md b/src/DesktopVirtualization/examples/New-AzWvdMsixPackage.md
new file mode 100644
index 000000000000..3d81493dae52
--- /dev/null
+++ b/src/DesktopVirtualization/examples/New-AzWvdMsixPackage.md
@@ -0,0 +1,37 @@
+### Example 1: Creates New MSIX Package in the HostPool via Package Alias
+```powershell
+PS C:\> New-AzWvdMsixPackage -HostPoolName HostPoolName `
+ -ResourceGroupName resourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -PackageAlias packagealias `
+ -ImagePath ImagePathURI `
+```
+
+This command adds MSIX package from specified image path to HostPool
+
+### Example 2: Creates New MSIX Package in the HostPool
+```powershell
+PS C:\> New-AzWvdMsixPackage -FullName PackageFullName `
+ -HostPoolName HostPoolName `
+ -ResourceGroupName ResourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -DisplayName displayname `
+ -ImagePath imageURI `
+ -IsActive:$false `
+ -IsRegularRegistration:$false `
+ -LastUpdated datelastupdated `
+ -PackageApplication $apps `
+ -PackageDependency $deps `
+ -PackageFamilyName packagefamilyname `
+ -PackageName packagename `
+ -PackageRelativePath packagerelativepath `
+ -Version packageversion `
+
+Name Type
+---- ----
+HotPoolName/PackageFullName Microsoft.DesktopVirtualization/hostpools/msixpackages
+
+```
+
+This command adds MSIX Package in the specified HostPool
+
diff --git a/src/DesktopVirtualization/examples/New-AzWvdWorkspace.md b/src/DesktopVirtualization/examples/New-AzWvdWorkspace.md
index 37fcd6cbfb12..9939d1a7ac11 100644
--- a/src/DesktopVirtualization/examples/New-AzWvdWorkspace.md
+++ b/src/DesktopVirtualization/examples/New-AzWvdWorkspace.md
@@ -1,4 +1,4 @@
-### Example 1: Create a Windows Virtual Desktop Worksapce by name
+### Example 1: Create a Windows Virtual Desktop Workspace by name
```powershell
PS C:\> New-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
-Name WorkspaceName `
@@ -14,7 +14,7 @@ eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
This command creates a Windows Virtual Desktop Workspace in a Resource Group.
-### Example 2: Create a Windows Virtual Desktop Worksapce by name
+### Example 2: Create a Windows Virtual Desktop Workspace by name
```powershell
PS C:\> New-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
-Name WorkspaceName `
diff --git a/src/DesktopVirtualization/examples/Remove-AzWvdMsixPackage.md b/src/DesktopVirtualization/examples/Remove-AzWvdMsixPackage.md
new file mode 100644
index 000000000000..177b9ebcee71
--- /dev/null
+++ b/src/DesktopVirtualization/examples/Remove-AzWvdMsixPackage.md
@@ -0,0 +1,9 @@
+### Example 1: Delete MSIX Package by Package Full Name
+```powershell
+PS C:\> Remove-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId -FullName PackageFullName
+```
+
+This command deletes a MSIX Package in a HostPool
+
+
+
diff --git a/src/DesktopVirtualization/examples/Remove-AzWvdWorkspace.md b/src/DesktopVirtualization/examples/Remove-AzWvdWorkspace.md
index 3cd5ee55881f..d22f7499891d 100644
--- a/src/DesktopVirtualization/examples/Remove-AzWvdWorkspace.md
+++ b/src/DesktopVirtualization/examples/Remove-AzWvdWorkspace.md
@@ -1,6 +1,6 @@
-### Example 1: Delete a Windows Virtual Desktop Worksapce by name
+### Example 1: Delete a Windows Virtual Desktop Workspace by name
```powershell
-PS C:\> Remove-AzWvdWorksapce -ResourceGroupName ResourceGroupName -Name WorkspaceName
+PS C:\> Remove-AzWvdWorkspace -ResourceGroupName ResourceGroupName -Name WorkspaceName
```
This command deletes a Windows Virtual Desktop Workspace in a Resource Group.
diff --git a/src/DesktopVirtualization/examples/Update-AzWvdMsixPackage.md b/src/DesktopVirtualization/examples/Update-AzWvdMsixPackage.md
new file mode 100644
index 000000000000..0edeca2100ee
--- /dev/null
+++ b/src/DesktopVirtualization/examples/Update-AzWvdMsixPackage.md
@@ -0,0 +1,17 @@
+### Example 1: Update a MSIX Package
+```powershell
+PS C:\> Update-AzWvdMsixPackage -HostPoolName HostPoolName `
+ -ResourceGroupName ResourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -displayName 'Updated-display-Name' `
+ -IsRegularRegistration:$False `
+ -IsActive:$True
+
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName1 Microsoft.DesktopVirtualization/hostpools/msixpackages
+```
+
+This command updates a MSIX Package in a HostPool.
+
+
diff --git a/src/DesktopVirtualization/examples/Update-AzWvdWorkspace.md b/src/DesktopVirtualization/examples/Update-AzWvdWorkspace.md
index 8960ea7d53ab..c2d190f497ef 100644
--- a/src/DesktopVirtualization/examples/Update-AzWvdWorkspace.md
+++ b/src/DesktopVirtualization/examples/Update-AzWvdWorkspace.md
@@ -1,4 +1,4 @@
-### Example 1: Update a Windows Virtual Desktop Worksapce by name
+### Example 1: Update a Windows Virtual Desktop Workspace by name
```powershell
PS C:\> Update-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
-Name WorkspaceName `
diff --git a/src/DesktopVirtualization/exports/Disconnect-AzWvdUserSession.ps1 b/src/DesktopVirtualization/exports/Disconnect-AzWvdUserSession.ps1
index 76fb60b04a9f..ff99cc2af8b7 100644
--- a/src/DesktopVirtualization/exports/Disconnect-AzWvdUserSession.ps1
+++ b/src/DesktopVirtualization/exports/Disconnect-AzWvdUserSession.ps1
@@ -36,6 +36,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
diff --git a/src/DesktopVirtualization/exports/Expand-AzWvdMsixImage.ps1 b/src/DesktopVirtualization/exports/Expand-AzWvdMsixImage.ps1
new file mode 100644
index 000000000000..41f0e383a68d
--- /dev/null
+++ b/src/DesktopVirtualization/exports/Expand-AzWvdMsixImage.ps1
@@ -0,0 +1,198 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Expands and Lists MSIX packages in an Image, given the Image Path.
+.Description
+Expands and Lists MSIX packages in an Image, given the Image Path.
+.Example
+PS C:\> Expand-AzWvdMsixImage -HostPoolName HostPoolName `
+ -ResourceGroupName resourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -Uri ImagePathURI
+
+Name Type
+---- ----
+HostPoolName/extractmsiximage Microsoft.DesktopVirtualization/hostpools/extractmsiximage
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixImageUri
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IExpandMsixImage
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [ApplicationGroupName ]: The name of the application group
+ [ApplicationName ]: The name of the application within the specified application group
+ [DesktopName ]: The name of the desktop within the specified desktop group
+ [HostPoolName ]: The name of the host pool within the specified resource group
+ [Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SessionHostName ]: The name of the session host within the specified host pool
+ [SubscriptionId ]: The ID of the target subscription.
+ [UserSessionId ]: The name of the user session within the specified session host
+ [WorkspaceName ]: The name of the workspace
+
+MSIXIMAGEURI : Represents URI referring to MSIX Image
+ [Uri ]: URI to Image
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/expand-azwvdmsiximage
+#>
+function Expand-AzWvdMsixImage {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IExpandMsixImage])]
+[CmdletBinding(DefaultParameterSetName='ExpandExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(ParameterSetName='Expand', Mandatory)]
+ [Parameter(ParameterSetName='ExpandExpanded', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
+
+ [Parameter(ParameterSetName='Expand', Mandatory)]
+ [Parameter(ParameterSetName='ExpandExpanded', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Expand')]
+ [Parameter(ParameterSetName='ExpandExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='ExpandViaIdentity', Mandatory, ValueFromPipeline)]
+ [Parameter(ParameterSetName='ExpandViaIdentityExpanded', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter(ParameterSetName='Expand', Mandatory, ValueFromPipeline)]
+ [Parameter(ParameterSetName='ExpandViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixImageUri]
+ # Represents URI referring to MSIX Image
+ # To construct, see NOTES section for MSIXIMAGEURI properties and create a hash table.
+ ${MsixImageUri},
+
+ [Parameter(ParameterSetName='ExpandExpanded')]
+ [Parameter(ParameterSetName='ExpandViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # URI to Image
+ ${Uri},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Expand = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_Expand';
+ ExpandExpanded = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_ExpandExpanded';
+ ExpandViaIdentity = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_ExpandViaIdentity';
+ ExpandViaIdentityExpanded = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_ExpandViaIdentityExpanded';
+ }
+ if (('Expand', 'ExpandExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdApplication.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdApplication.ps1
index 937defdb5a60..4443625b4a6f 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdApplication.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdApplication.ps1
@@ -35,7 +35,7 @@ ApplicationGroupName/ApplicationName2 Microsoft.DesktopVirtualization/applicatio
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,6 +47,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -56,7 +57,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdapplication
#>
function Get-AzWvdApplication {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdApplicationGroup.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdApplicationGroup.ps1
index 40a0eb3b92d5..3de4738d838e 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdApplicationGroup.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdApplicationGroup.ps1
@@ -35,7 +35,7 @@ eastus ApplicationGroupName2 Microsoft.DesktopVirtualization/applicationgrou
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,6 +47,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -56,7 +57,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdapplicationgroup
#>
function Get-AzWvdApplicationGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdDesktop.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdDesktop.ps1
index 9b740d911222..efd27f18da99 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdDesktop.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdDesktop.ps1
@@ -34,9 +34,9 @@ ApplicationGroupName/DesktopName Microsoft.DesktopVirtualization/applicationgrou
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktop
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktop
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktopList
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktopList
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -48,6 +48,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -57,7 +58,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvddesktop
#>
function Get-AzWvdDesktop {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktop], [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktopList])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktop], [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktopList])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdHostPool.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdHostPool.ps1
index fd83d8c40874..7d66dc6d6eb7 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdHostPool.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdHostPool.ps1
@@ -35,7 +35,7 @@ eastus HostPoolName2 Microsoft.DesktopVirtualization/hostpools
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,6 +47,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -56,7 +57,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdhostpool
#>
function Get-AzWvdHostPool {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdMsixPackage.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdMsixPackage.ps1
new file mode 100644
index 000000000000..4a0fd666ff0a
--- /dev/null
+++ b/src/DesktopVirtualization/exports/Get-AzWvdMsixPackage.ps1
@@ -0,0 +1,188 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Get a msixpackage.
+.Description
+Get a msixpackage.
+.Example
+PS C:\> Get-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId -FullName PackageFullName
+
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName Microsoft.DesktopVirtualization/hostpools/msixpackages
+.Example
+PS C:\> Get-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId
+
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName1 Microsoft.DesktopVirtualization/hostpools/msixpackages
+HostPoolName/MSIXPackage_FullName2 Microsoft.DesktopVirtualization/hostpools/msixpackages
+HostPoolName/MSIXPackage_FullName3 Microsoft.DesktopVirtualization/hostpools/msixpackages
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [ApplicationGroupName ]: The name of the application group
+ [ApplicationName ]: The name of the application within the specified application group
+ [DesktopName ]: The name of the desktop within the specified desktop group
+ [HostPoolName ]: The name of the host pool within the specified resource group
+ [Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SessionHostName ]: The name of the session host within the specified host pool
+ [SubscriptionId ]: The ID of the target subscription.
+ [UserSessionId ]: The name of the user session within the specified session host
+ [WorkspaceName ]: The name of the workspace
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdmsixpackage
+#>
+function Get-AzWvdMsixPackage {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Alias('MsixPackageFullName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The version specific package full name of the MSIX package within specified hostpool
+ ${FullName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Get = 'Az.DesktopVirtualization.private\Get-AzWvdMsixPackage_Get';
+ GetViaIdentity = 'Az.DesktopVirtualization.private\Get-AzWvdMsixPackage_GetViaIdentity';
+ List = 'Az.DesktopVirtualization.private\Get-AzWvdMsixPackage_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdRegistrationInfo.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdRegistrationInfo.ps1
index af71aa6e1ff5..586876597738 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdRegistrationInfo.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdRegistrationInfo.ps1
@@ -26,12 +26,12 @@ ExpirationTime RegistrationTokenOperation Token
4/1/2020 10:19:33 PM None eyJhbGciOiJSUzI1NiIsImtpZCI6IkMyRjU1RUYxNzg0MEFCNzkzMDk2RUYzRjdEMkNBRDk0NThGNDhEOTQiLCJ0eXAiOiJKV1QifQ.eyJSZWdpc3RyYXRpb25JZCI6IjU5NGJjZWUwLTk5MjQtNDg3ZC1iOW...
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdregistrationinfo
#>
function Get-AzWvdRegistrationInfo {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.RegistrationInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.RegistrationInfo])]
[CmdletBinding(PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdSessionHost.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdSessionHost.ps1
index 4bc880211b2d..675a50e10d96 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdSessionHost.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdSessionHost.ps1
@@ -35,7 +35,7 @@ HostPoolName/SessionHostName2 Microsoft.DesktopVirtualization/hostpools/sessionh
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ISessionHost
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ISessionHost
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,6 +47,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -56,7 +57,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdsessionhost
#>
function Get-AzWvdSessionHost {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ISessionHost])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ISessionHost])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdStartMenuItem.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdStartMenuItem.ps1
index 70b7cdcb47e4..f71eddbb86ef 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdStartMenuItem.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdStartMenuItem.ps1
@@ -29,12 +29,12 @@ ApplicationGroupName/Disk Cleanup Microsoft.DesktopVirtualizat
ApplicationGroupName/Internet Explorer Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IStartMenuItem
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IStartMenuItem
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdstartmenuitem
#>
function Get-AzWvdStartMenuItem {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IStartMenuItem])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IStartMenuItem])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdUserSession.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdUserSession.ps1
index b09ab6751665..2b61d4d705ee 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdUserSession.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdUserSession.ps1
@@ -42,7 +42,7 @@ HostPoolName/SessionHostName/3 Microsoft.DesktopVirtualization/hostpools/session
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IUserSession
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IUserSession
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -54,6 +54,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -63,7 +64,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdusersession
#>
function Get-AzWvdUserSession {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IUserSession])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IUserSession])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/Get-AzWvdWorkspace.ps1 b/src/DesktopVirtualization/exports/Get-AzWvdWorkspace.ps1
index f390aba2f54a..ec364f7436a7 100644
--- a/src/DesktopVirtualization/exports/Get-AzWvdWorkspace.ps1
+++ b/src/DesktopVirtualization/exports/Get-AzWvdWorkspace.ps1
@@ -19,13 +19,13 @@ Get a workspace.
.Description
Get a workspace.
.Example
-PS C:\> Get-AzWvdWorksapce -ResourceGroupName ResourceGroupName -Name WorkspaceName
+PS C:\> Get-AzWvdWorkspace -ResourceGroupName ResourceGroupName -Name WorkspaceName
Location Name Type
-------- ---- ----
eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
.Example
-PS C:\> Get-AzWvdWorksapce -ResourceGroupName ResourceGroupName
+PS C:\> Get-AzWvdWorkspace -ResourceGroupName ResourceGroupName
Location Name Type
-------- ---- ----
@@ -35,7 +35,7 @@ eastus WorkspaceName2 Microsoft.DesktopVirtualization/workspaces
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -47,6 +47,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -56,7 +57,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdworkspace
#>
function Get-AzWvdWorkspace {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
diff --git a/src/DesktopVirtualization/exports/New-AzWvdApplication.ps1 b/src/DesktopVirtualization/exports/New-AzWvdApplication.ps1
index 36995e21e9a9..f44b35cdb28b 100644
--- a/src/DesktopVirtualization/exports/New-AzWvdApplication.ps1
+++ b/src/DesktopVirtualization/exports/New-AzWvdApplication.ps1
@@ -35,12 +35,12 @@ Name Type
ApplicationGroupName/ApplicationName Microsoft.DesktopVirtualization/applicationgroups/applications
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdapplication
#>
function New-AzWvdApplication {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -102,6 +102,13 @@ param(
# App Alias from start menu item
${AppAlias},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.RemoteApplicationType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.RemoteApplicationType]
+ # Resource Type of Application.
+ ${ApplicationType},
+
[Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
[System.String]
@@ -126,6 +133,18 @@ param(
# Path to icon.
${IconPath},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Specifies the package application Id for MSIX applications
+ ${MsixPackageApplicationId},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Specifies the package family name for MSIX applications
+ ${MsixPackageFamilyName},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
diff --git a/src/DesktopVirtualization/exports/New-AzWvdApplicationGroup.ps1 b/src/DesktopVirtualization/exports/New-AzWvdApplicationGroup.ps1
index 0e2065d546f0..04eb4f98a4b8 100644
--- a/src/DesktopVirtualization/exports/New-AzWvdApplicationGroup.ps1
+++ b/src/DesktopVirtualization/exports/New-AzWvdApplicationGroup.ps1
@@ -44,12 +44,12 @@ Location Name Type
eastus ApplicationGroupName Microsoft.DesktopVirtualization/applicationgroups
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdapplicationgroup
#>
function New-AzWvdApplicationGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/DesktopVirtualization/exports/New-AzWvdHostPool.ps1 b/src/DesktopVirtualization/exports/New-AzWvdHostPool.ps1
index 1b38d2495a83..056f1b473320 100644
--- a/src/DesktopVirtualization/exports/New-AzWvdHostPool.ps1
+++ b/src/DesktopVirtualization/exports/New-AzWvdHostPool.ps1
@@ -31,6 +31,10 @@ PS C:\> New-AzWvdHostPool -ResourceGroupName ResourceGroupName `
-MaxSessionLimit 5 `
-VMTemplate $null `
-SsoContext $null `
+ -SsoClientId $null `
+ -SsoClientSecretKeyVaultPath $null `
+ -SsoSecretType $null `
+ -SsoadfsAuthority $null `
-CustomRdpProperty $null `
-Ring $null `
-ValidationEnvironment:$false
@@ -51,6 +55,10 @@ PS C:\> New-AzWvdHostPool -ResourceGroupName ResourceGroupName `
-MaxSessionLimit 5 `
-VMTemplate $null `
-SsoContext $null `
+ -SsoClientId $null `
+ -SsoClientSecretKeyVaultPath $null `
+ -SsoSecretType $null `
+ -SsoadfsAuthority $null `
-CustomRdpProperty $null `
-Ring $null `
-ValidationEnvironment:$false
@@ -60,12 +68,12 @@ Location Name Type
eastus HostPoolName Microsoft.DesktopVirtualization/hostpools
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdhostpool
#>
function New-AzWvdHostPool {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -184,12 +192,37 @@ param(
# The ring number of HostPool.
${Ring},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # ClientId for the registered Relying Party used to issue WVD SSO certificates.
+ ${SsoClientId},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Path to Azure KeyVault storing the secret used for communication to ADFS.
+ ${SsoClientSecretKeyVaultPath},
+
[Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
[System.String]
# Path to keyvault containing ssoContext secret.
${SsoContext},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.SsoSecretType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.SsoSecretType]
+ # The type of single sign on Secret Type.
+ ${SsoSecretType},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # URL to customer ADFS server for signing WVD SSO certificates.
+ ${SsoadfsAuthority},
+
[Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.ITrackedResourceTags]))]
diff --git a/src/DesktopVirtualization/exports/New-AzWvdMsixPackage.ps1 b/src/DesktopVirtualization/exports/New-AzWvdMsixPackage.ps1
new file mode 100644
index 000000000000..1707f144a5a5
--- /dev/null
+++ b/src/DesktopVirtualization/exports/New-AzWvdMsixPackage.ps1
@@ -0,0 +1,266 @@
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create or update a MSIX package.
+.Description
+Create or update a MSIX package.
+.Example
+PS C:\> New-AzWvdMsixPackage -HostPoolName HostPoolName `
+ -ResourceGroupName resourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -PackageAlias packagealias `
+ -ImagePath ImagePathURI `
+.Example
+PS C:\> New-AzWvdMsixPackage -FullName PackageFullName `
+ -HostPoolName HostPoolName `
+ -ResourceGroupName ResourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -DisplayName displayname `
+ -ImagePath imageURI `
+ -IsActive:$false `
+ -IsRegularRegistration:$false `
+ -LastUpdated datelastupdated `
+ -PackageApplication $apps `
+ -PackageDependency $deps `
+ -PackageFamilyName packagefamilyname `
+ -PackageName packagename `
+ -PackageRelativePath packagerelativepath `
+ -Version packageversion `
+
+Name Type
+---- ----
+HotPoolName/PackageFullName Microsoft.DesktopVirtualization/hostpools/msixpackages
+
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+PACKAGEAPPLICATION : List of package applications.
+ [AppId ]: Package Application Id, found in appxmanifest.xml.
+ [AppUserModelId ]: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
+ [Description ]: Description of Package Application.
+ [FriendlyName ]: User friendly name.
+ [IconImageName ]: User friendly name.
+ [RawIcon ]: the icon a 64 bit string as a byte array.
+ [RawPng ]: the icon a 64 bit string as a byte array.
+
+PACKAGEDEPENDENCY : List of package dependencies.
+ [DependencyName ]: Name of package dependency.
+ [MinVersion ]: Dependency version required.
+ [Publisher ]: Name of dependency publisher.
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdmsixpackage
+#>
+function New-AzWvdMsixPackage {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage])]
+[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Alias('MsixPackageFullName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The version specific package full name of the MSIX package within specified hostpool
+ ${FullName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # User friendly Name to be displayed in the portal.
+ ${DisplayName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # VHD/CIM image path on Network Share.
+ ${ImagePath},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.Management.Automation.SwitchParameter]
+ # Make this version of the package the active one across the hostpool.
+ ${IsActive},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.Management.Automation.SwitchParameter]
+ # Specifies how to register Package in feed.
+ ${IsRegularRegistration},
+
+ [Parameter(ParameterSetName='PackageAlias', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # Package Alias from extract MSIX Image
+ ${PackageAlias},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.DateTime]
+ # Date Package was last updated, found in the appxmanifest.xml.
+ ${LastUpdated},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackageApplications[]]
+ # List of package applications.
+ #
+ # To construct, see NOTES section for PACKAGEAPPLICATION properties and create a hash table.
+ ${PackageApplication},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackageDependencies[]]
+ # List of package dependencies.
+ #
+ # To construct, see NOTES section for PACKAGEDEPENDENCY properties and create a hash table.
+ ${PackageDependency},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Package Family Name from appxmanifest.xml.
+ # Contains Package Name and Publisher name.
+ ${PackageFamilyName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Package Name from appxmanifest.xml.
+ ${PackageName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Relative Path to the package inside the image.
+ ${PackageRelativePath},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Package Version found in the appxmanifest.xml.
+ ${Version},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ CreateExpanded = 'Az.DesktopVirtualization.private\New-AzWvdMsixPackage_CreateExpanded';
+ PackageAlias = 'Az.DesktopVirtualization.custom\New-AzWvdMsixPackage_PackageAlias';
+ }
+ if (('CreateExpanded', 'PackageAlias') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
diff --git a/src/DesktopVirtualization/exports/New-AzWvdRegistrationInfo.ps1 b/src/DesktopVirtualization/exports/New-AzWvdRegistrationInfo.ps1
index 1aae6be7b6f2..610d39f35aa3 100644
--- a/src/DesktopVirtualization/exports/New-AzWvdRegistrationInfo.ps1
+++ b/src/DesktopVirtualization/exports/New-AzWvdRegistrationInfo.ps1
@@ -26,12 +26,12 @@ ExpirationTime RegistrationTokenOperation Token
4/1/2020 10:19:33 PM Update eyJhbGciOiJSUzI1NiIsImtpZCI6IkMyRjU1RUYxNzg0MEFCNzkzMDk2RUYzRjdEMkNBRDk0NThGNDhEOTQiLCJ0eXAiOiJKV1QifQ.eyJSZWdpc3RyYXRpb25JZCI6IjU5NGJjZWUwLTk5MjQtNDg3ZC1iOW...
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IRegistrationInfo
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IRegistrationInfo
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdregistrationinfo
#>
function New-AzWvdRegistrationInfo {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IRegistrationInfo])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IRegistrationInfo])]
[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/DesktopVirtualization/exports/New-AzWvdWorkspace.ps1 b/src/DesktopVirtualization/exports/New-AzWvdWorkspace.ps1
index a7763968eb5f..cf22d91915de 100644
--- a/src/DesktopVirtualization/exports/New-AzWvdWorkspace.ps1
+++ b/src/DesktopVirtualization/exports/New-AzWvdWorkspace.ps1
@@ -42,12 +42,12 @@ Location Name Type
eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdworkspace
#>
function New-AzWvdWorkspace {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
diff --git a/src/DesktopVirtualization/exports/ProxyCmdletDefinitions.ps1 b/src/DesktopVirtualization/exports/ProxyCmdletDefinitions.ps1
index 5b35e7a0f469..4e5820ccb8d4 100644
--- a/src/DesktopVirtualization/exports/ProxyCmdletDefinitions.ps1
+++ b/src/DesktopVirtualization/exports/ProxyCmdletDefinitions.ps1
@@ -36,6 +36,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -196,6 +197,204 @@ end {
# limitations under the License.
# ----------------------------------------------------------------------------------
+<#
+.Synopsis
+Expands and Lists MSIX packages in an Image, given the Image Path.
+.Description
+Expands and Lists MSIX packages in an Image, given the Image Path.
+.Example
+PS C:\> Expand-AzWvdMsixImage -HostPoolName HostPoolName `
+ -ResourceGroupName resourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -Uri ImagePathURI
+
+Name Type
+---- ----
+HostPoolName/extractmsiximage Microsoft.DesktopVirtualization/hostpools/extractmsiximage
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixImageUri
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IExpandMsixImage
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [ApplicationGroupName ]: The name of the application group
+ [ApplicationName ]: The name of the application within the specified application group
+ [DesktopName ]: The name of the desktop within the specified desktop group
+ [HostPoolName ]: The name of the host pool within the specified resource group
+ [Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SessionHostName ]: The name of the session host within the specified host pool
+ [SubscriptionId ]: The ID of the target subscription.
+ [UserSessionId ]: The name of the user session within the specified session host
+ [WorkspaceName ]: The name of the workspace
+
+MSIXIMAGEURI : Represents URI referring to MSIX Image
+ [Uri ]: URI to Image
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/expand-azwvdmsiximage
+#>
+function Expand-AzWvdMsixImage {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IExpandMsixImage])]
+[CmdletBinding(DefaultParameterSetName='ExpandExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(ParameterSetName='Expand', Mandatory)]
+ [Parameter(ParameterSetName='ExpandExpanded', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
+
+ [Parameter(ParameterSetName='Expand', Mandatory)]
+ [Parameter(ParameterSetName='ExpandExpanded', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Expand')]
+ [Parameter(ParameterSetName='ExpandExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='ExpandViaIdentity', Mandatory, ValueFromPipeline)]
+ [Parameter(ParameterSetName='ExpandViaIdentityExpanded', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter(ParameterSetName='Expand', Mandatory, ValueFromPipeline)]
+ [Parameter(ParameterSetName='ExpandViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixImageUri]
+ # Represents URI referring to MSIX Image
+ # To construct, see NOTES section for MSIXIMAGEURI properties and create a hash table.
+ ${MsixImageUri},
+
+ [Parameter(ParameterSetName='ExpandExpanded')]
+ [Parameter(ParameterSetName='ExpandViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # URI to Image
+ ${Uri},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Expand = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_Expand';
+ ExpandExpanded = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_ExpandExpanded';
+ ExpandViaIdentity = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_ExpandViaIdentity';
+ ExpandViaIdentityExpanded = 'Az.DesktopVirtualization.private\Expand-AzWvdMsixImage_ExpandViaIdentityExpanded';
+ }
+ if (('Expand', 'ExpandExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
<#
.Synopsis
Get an application group.
@@ -218,7 +417,7 @@ eastus ApplicationGroupName2 Microsoft.DesktopVirtualization/applicationgrou
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -230,6 +429,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -239,7 +439,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdapplicationgroup
#>
function Get-AzWvdApplicationGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -407,7 +607,7 @@ ApplicationGroupName/ApplicationName2 Microsoft.DesktopVirtualization/applicatio
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -419,6 +619,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -428,7 +629,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdapplication
#>
function Get-AzWvdApplication {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -593,9 +794,9 @@ ApplicationGroupName/DesktopName Microsoft.DesktopVirtualization/applicationgrou
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktop
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktop
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktopList
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktopList
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -607,6 +808,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -616,7 +818,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvddesktop
#>
function Get-AzWvdDesktop {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktop], [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IDesktopList])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktop], [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IDesktopList])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -781,7 +983,7 @@ eastus HostPoolName2 Microsoft.DesktopVirtualization/hostpools
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -793,6 +995,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -802,7 +1005,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdhostpool
#>
function Get-AzWvdHostPool {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -942,27 +1145,28 @@ end {
<#
.Synopsis
-Get a session host.
+Get a msixpackage.
.Description
-Get a session host.
+Get a msixpackage.
.Example
-PS C:\> Get-AzWvdSessionHost -ResourceGroupName ResourceGroupName -HostPoolName HostPoolName -Name SessionHostName
+PS C:\> Get-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId -FullName PackageFullName
-Name Type
----- ----
-HostPoolName/SessionHostName Microsoft.DesktopVirtualization/hostpools/sessionhosts
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName Microsoft.DesktopVirtualization/hostpools/msixpackages
.Example
-PS C:\> Get-AzWvdSessionHost -ResourceGroupName ResourceGroupName -HostPoolName HostPoolName
+PS C:\> Get-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId
-Name Type
----- ----
-HostPoolName/SessionHostName1 Microsoft.DesktopVirtualization/hostpools/sessionhosts
-HostPoolName/SessionHostName2 Microsoft.DesktopVirtualization/hostpools/sessionhosts
+Name Type
+---- ----
+HostPoolName/MSIXPackage_FullName1 Microsoft.DesktopVirtualization/hostpools/msixpackages
+HostPoolName/MSIXPackage_FullName2 Microsoft.DesktopVirtualization/hostpools/msixpackages
+HostPoolName/MSIXPackage_FullName3 Microsoft.DesktopVirtualization/hostpools/msixpackages
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ISessionHost
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -974,31 +1178,32 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
[UserSessionId ]: The name of the user session within the specified session host
[WorkspaceName ]: The name of the workspace
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdsessionhost
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdmsixpackage
#>
-function Get-AzWvdSessionHost {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ISessionHost])]
+function Get-AzWvdMsixPackage {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
- [Parameter(ParameterSetName='List', Mandatory)]
+ [Alias('MsixPackageFullName')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # The name of the host pool within the specified resource group
- ${HostPoolName},
+ # The version specific package full name of the MSIX package within specified hostpool
+ ${FullName},
[Parameter(ParameterSetName='Get', Mandatory)]
- [Alias('SessionHostName')]
+ [Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # The name of the session host within the specified host pool
- ${Name},
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
[Parameter(ParameterSetName='Get', Mandatory)]
[Parameter(ParameterSetName='List', Mandatory)]
@@ -1079,9 +1284,9 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
- Get = 'Az.DesktopVirtualization.private\Get-AzWvdSessionHost_Get';
- GetViaIdentity = 'Az.DesktopVirtualization.private\Get-AzWvdSessionHost_GetViaIdentity';
- List = 'Az.DesktopVirtualization.private\Get-AzWvdSessionHost_List';
+ Get = 'Az.DesktopVirtualization.private\Get-AzWvdMsixPackage_Get';
+ GetViaIdentity = 'Az.DesktopVirtualization.private\Get-AzWvdMsixPackage_GetViaIdentity';
+ List = 'Az.DesktopVirtualization.private\Get-AzWvdMsixPackage_List';
}
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
@@ -1128,48 +1333,88 @@ end {
<#
.Synopsis
-List start menu items in the given application group.
+Get a session host.
.Description
-List start menu items in the given application group.
+Get a session host.
.Example
-PS C:\> Get-AzWvdStartMenuItem -ResourceGroupName ResourceGroupName -ApplicationGroupName ApplicationGroupName
+PS C:\> Get-AzWvdSessionHost -ResourceGroupName ResourceGroupName -HostPoolName HostPoolName -Name SessionHostName
-Name Type
----- ----
-ApplicationGroupName/Character Map Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
-ApplicationGroupName/Defragment and Optimize Drives Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
-ApplicationGroupName/Disk Cleanup Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
-ApplicationGroupName/Internet Explorer Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
+Name Type
+---- ----
+HostPoolName/SessionHostName Microsoft.DesktopVirtualization/hostpools/sessionhosts
+.Example
+PS C:\> Get-AzWvdSessionHost -ResourceGroupName ResourceGroupName -HostPoolName HostPoolName
+
+Name Type
+---- ----
+HostPoolName/SessionHostName1 Microsoft.DesktopVirtualization/hostpools/sessionhosts
+HostPoolName/SessionHostName2 Microsoft.DesktopVirtualization/hostpools/sessionhosts
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IStartMenuItem
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ISessionHost
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [ApplicationGroupName ]: The name of the application group
+ [ApplicationName ]: The name of the application within the specified application group
+ [DesktopName ]: The name of the desktop within the specified desktop group
+ [HostPoolName ]: The name of the host pool within the specified resource group
+ [Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SessionHostName ]: The name of the session host within the specified host pool
+ [SubscriptionId ]: The ID of the target subscription.
+ [UserSessionId ]: The name of the user session within the specified session host
+ [WorkspaceName ]: The name of the workspace
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdstartmenuitem
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdsessionhost
#>
-function Get-AzWvdStartMenuItem {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IStartMenuItem])]
+function Get-AzWvdSessionHost {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.ISessionHost])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # The name of the application group
- ${ApplicationGroupName},
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Alias('SessionHostName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the session host within the specified host pool
+ ${Name},
+
+ [Parameter(ParameterSetName='Get', Mandatory)]
+ [Parameter(ParameterSetName='List', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
# The name of the resource group.
# The name is case insensitive.
${ResourceGroupName},
- [Parameter()]
+ [Parameter(ParameterSetName='Get')]
+ [Parameter(ParameterSetName='List')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String[]]
# The ID of the target subscription.
${SubscriptionId},
+ [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -1226,9 +1471,156 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
- List = 'Az.DesktopVirtualization.private\Get-AzWvdStartMenuItem_List';
- }
- if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ Get = 'Az.DesktopVirtualization.private\Get-AzWvdSessionHost_Get';
+ GetViaIdentity = 'Az.DesktopVirtualization.private\Get-AzWvdSessionHost_GetViaIdentity';
+ List = 'Az.DesktopVirtualization.private\Get-AzWvdSessionHost_List';
+ }
+ if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+List start menu items in the given application group.
+.Description
+List start menu items in the given application group.
+.Example
+PS C:\> Get-AzWvdStartMenuItem -ResourceGroupName ResourceGroupName -ApplicationGroupName ApplicationGroupName
+
+Name Type
+---- ----
+ApplicationGroupName/Character Map Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
+ApplicationGroupName/Defragment and Optimize Drives Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
+ApplicationGroupName/Disk Cleanup Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
+ApplicationGroupName/Internet Explorer Microsoft.DesktopVirtualization/applicationgroups/startmenuitems
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IStartMenuItem
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdstartmenuitem
+#>
+function Get-AzWvdStartMenuItem {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IStartMenuItem])]
+[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
+param(
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the application group
+ ${ApplicationGroupName},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String[]]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ List = 'Az.DesktopVirtualization.private\Get-AzWvdStartMenuItem_List';
+ }
+ if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
}
$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
@@ -1300,7 +1692,7 @@ HostPoolName/SessionHostName/3 Microsoft.DesktopVirtualization/hostpools/session
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IUserSession
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IUserSession
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1312,6 +1704,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -1321,7 +1714,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdusersession
#>
function Get-AzWvdUserSession {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IUserSession])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IUserSession])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1488,13 +1881,13 @@ Get a workspace.
.Description
Get a workspace.
.Example
-PS C:\> Get-AzWvdWorksapce -ResourceGroupName ResourceGroupName -Name WorkspaceName
+PS C:\> Get-AzWvdWorkspace -ResourceGroupName ResourceGroupName -Name WorkspaceName
Location Name Type
-------- ---- ----
eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
.Example
-PS C:\> Get-AzWvdWorksapce -ResourceGroupName ResourceGroupName
+PS C:\> Get-AzWvdWorkspace -ResourceGroupName ResourceGroupName
Location Name Type
-------- ---- ----
@@ -1504,7 +1897,7 @@ eastus WorkspaceName2 Microsoft.DesktopVirtualization/workspaces
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace
.Notes
COMPLEX PARAMETER PROPERTIES
@@ -1516,6 +1909,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -1525,7 +1919,7 @@ INPUTOBJECT : Identity Parameter
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdworkspace
#>
function Get-AzWvdWorkspace {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -1694,12 +2088,12 @@ Location Name Type
eastus ApplicationGroupName Microsoft.DesktopVirtualization/applicationgroups
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdapplicationgroup
#>
function New-AzWvdApplicationGroup {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplicationGroup])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplicationGroup])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -1884,12 +2278,12 @@ Name Type
ApplicationGroupName/ApplicationName Microsoft.DesktopVirtualization/applicationgroups/applications
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdapplication
#>
function New-AzWvdApplication {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IApplication])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IApplication])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -1951,6 +2345,13 @@ param(
# App Alias from start menu item
${AppAlias},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.RemoteApplicationType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.RemoteApplicationType]
+ # Resource Type of Application.
+ ${ApplicationType},
+
[Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
[System.String]
@@ -1975,6 +2376,18 @@ param(
# Path to icon.
${IconPath},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Specifies the package application Id for MSIX applications
+ ${MsixPackageApplicationId},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Specifies the package family name for MSIX applications
+ ${MsixPackageFamilyName},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -2095,6 +2508,10 @@ PS C:\> New-AzWvdHostPool -ResourceGroupName ResourceGroupName `
-MaxSessionLimit 5 `
-VMTemplate $null `
-SsoContext $null `
+ -SsoClientId $null `
+ -SsoClientSecretKeyVaultPath $null `
+ -SsoSecretType $null `
+ -SsoadfsAuthority $null `
-CustomRdpProperty $null `
-Ring $null `
-ValidationEnvironment:$false
@@ -2115,6 +2532,10 @@ PS C:\> New-AzWvdHostPool -ResourceGroupName ResourceGroupName `
-MaxSessionLimit 5 `
-VMTemplate $null `
-SsoContext $null `
+ -SsoClientId $null `
+ -SsoClientSecretKeyVaultPath $null `
+ -SsoSecretType $null `
+ -SsoadfsAuthority $null `
-CustomRdpProperty $null `
-Ring $null `
-ValidationEnvironment:$false
@@ -2124,12 +2545,12 @@ Location Name Type
eastus HostPoolName Microsoft.DesktopVirtualization/hostpools
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool
.Link
https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdhostpool
#>
function New-AzWvdHostPool {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IHostPool])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IHostPool])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
@@ -2248,12 +2669,37 @@ param(
# The ring number of HostPool.
${Ring},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # ClientId for the registered Relying Party used to issue WVD SSO certificates.
+ ${SsoClientId},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Path to Azure KeyVault storing the secret used for communication to ADFS.
+ ${SsoClientSecretKeyVaultPath},
+
[Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
[System.String]
# Path to keyvault containing ssoContext secret.
${SsoContext},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.SsoSecretType])]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Support.SsoSecretType]
+ # The type of single sign on Secret Type.
+ ${SsoSecretType},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # URL to customer ADFS server for signing WVD SSO certificates.
+ ${SsoadfsAuthority},
+
[Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.ITrackedResourceTags]))]
@@ -2377,47 +2823,69 @@ end {
<#
.Synopsis
-Create or update a workspace.
+Create or update a MSIX package.
.Description
-Create or update a workspace.
+Create or update a MSIX package.
.Example
-PS C:\> New-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
- -Name WorkspaceName `
- -Location 'eastus' `
- -FriendlyName 'Friendly Name' `
- -ApplicationGroupReference $null `
- -Description 'Description'
-
-Location Name Type
--------- ---- ----
-eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
+PS C:\> New-AzWvdMsixPackage -HostPoolName HostPoolName `
+ -ResourceGroupName resourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -PackageAlias packagealias `
+ -ImagePath ImagePathURI `
.Example
-PS C:\> New-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
- -Name WorkspaceName `
- -Location 'eastus' `
- -FriendlyName 'Friendly Name' `
- -ApplicationGroupReference "/subscriptions/SubscriptionId/resourceGroups/ResourceGroupName/providers/Microsoft.DesktopVirtualization/applicationGroups/ApplicationGroupName1","/subscriptions/SubscriptionId/resourceGroups/ResourceGroupName/providers/Microsoft.DesktopVirtualization/applicationGroups/ApplicationGroupName2" `
- -Description 'Description'
+PS C:\> New-AzWvdMsixPackage -FullName PackageFullName `
+ -HostPoolName HostPoolName `
+ -ResourceGroupName ResourceGroupName `
+ -SubscriptionId SubscriptionId `
+ -DisplayName displayname `
+ -ImagePath imageURI `
+ -IsActive:$false `
+ -IsRegularRegistration:$false `
+ -LastUpdated datelastupdated `
+ -PackageApplication $apps `
+ -PackageDependency $deps `
+ -PackageFamilyName packagefamilyname `
+ -PackageName packagename `
+ -PackageRelativePath packagerelativepath `
+ -Version packageversion `
+
+Name Type
+---- ----
+HotPoolName/PackageFullName Microsoft.DesktopVirtualization/hostpools/msixpackages
-Location Name Type
--------- ---- ----
-eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+PACKAGEAPPLICATION : List of package applications.
+ [AppId ]: Package Application Id, found in appxmanifest.xml.
+ [AppUserModelId ]: Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml.
+ [Description ]: Description of Package Application.
+ [FriendlyName ]: User friendly name.
+ [IconImageName ]: User friendly name.
+ [RawIcon ]: the icon a 64 bit string as a byte array.
+ [RawPng ]: the icon a 64 bit string as a byte array.
+
+PACKAGEDEPENDENCY : List of package dependencies.
+ [DependencyName ]: Name of package dependency.
+ [MinVersion ]: Dependency version required.
+ [Publisher ]: Name of dependency publisher.
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdworkspace
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdmsixpackage
#>
-function New-AzWvdWorkspace {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IWorkspace])]
+function New-AzWvdMsixPackage {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackage])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
- [Alias('WorkspaceName')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # The name of the workspace
- ${Name},
+ # The name of the host pool within the specified resource group
+ ${HostPoolName},
[Parameter(Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
@@ -2426,6 +2894,13 @@ param(
# The name is case insensitive.
${ResourceGroupName},
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Alias('MsixPackageFullName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The version specific package full name of the MSIX package within specified hostpool
+ ${FullName},
+
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
@@ -2433,48 +2908,285 @@ param(
# The ID of the target subscription.
${SubscriptionId},
- [Parameter(Mandatory)]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # The geo-location where the resource lives
- ${Location},
+ # User friendly Name to be displayed in the portal.
+ ${DisplayName},
[Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
- [System.String[]]
- # List of applicationGroup resource Ids.
- ${ApplicationGroupReference},
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # VHD/CIM image path on Network Share.
+ ${ImagePath},
[Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
- [System.String]
- # Description of Workspace.
- ${Description},
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.Management.Automation.SwitchParameter]
+ # Make this version of the package the active one across the hostpool.
+ ${IsActive},
[Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.Management.Automation.SwitchParameter]
+ # Specifies how to register Package in feed.
+ ${IsRegularRegistration},
+
+ [Parameter(ParameterSetName='PackageAlias', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # Friendly name of Workspace.
- ${FriendlyName},
+ # Package Alias from extract MSIX Image
+ ${PackageAlias},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.ITrackedResourceTags]))]
- [System.Collections.Hashtable]
- # Resource tags.
- ${Tag},
+ [System.DateTime]
+ # Date Package was last updated, found in the appxmanifest.xml.
+ ${LastUpdated},
- [Parameter()]
- [Alias('AzureRMContext', 'AzureCredential')]
- [ValidateNotNull()]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
- [System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
- ${DefaultProfile},
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackageApplications[]]
+ # List of package applications.
+ #
+ # To construct, see NOTES section for PACKAGEAPPLICATION properties and create a hash table.
+ ${PackageApplication},
- [Parameter(DontShow)]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
- [System.Management.Automation.SwitchParameter]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IMsixPackageDependencies[]]
+ # List of package dependencies.
+ #
+ # To construct, see NOTES section for PACKAGEDEPENDENCY properties and create a hash table.
+ ${PackageDependency},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Package Family Name from appxmanifest.xml.
+ # Contains Package Name and Publisher name.
+ ${PackageFamilyName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Package Name from appxmanifest.xml.
+ ${PackageName},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Relative Path to the package inside the image.
+ ${PackageRelativePath},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Package Version found in the appxmanifest.xml.
+ ${Version},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ CreateExpanded = 'Az.DesktopVirtualization.private\New-AzWvdMsixPackage_CreateExpanded';
+ PackageAlias = 'Az.DesktopVirtualization.custom\New-AzWvdMsixPackage_PackageAlias';
+ }
+ if (('CreateExpanded', 'PackageAlias') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create or update a workspace.
+.Description
+Create or update a workspace.
+.Example
+PS C:\> New-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
+ -Name WorkspaceName `
+ -Location 'eastus' `
+ -FriendlyName 'Friendly Name' `
+ -ApplicationGroupReference $null `
+ -Description 'Description'
+
+Location Name Type
+-------- ---- ----
+eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
+.Example
+PS C:\> New-AzWvdWorkspace -ResourceGroupName ResourceGroupName `
+ -Name WorkspaceName `
+ -Location 'eastus' `
+ -FriendlyName 'Friendly Name' `
+ -ApplicationGroupReference "/subscriptions/SubscriptionId/resourceGroups/ResourceGroupName/providers/Microsoft.DesktopVirtualization/applicationGroups/ApplicationGroupName1","/subscriptions/SubscriptionId/resourceGroups/ResourceGroupName/providers/Microsoft.DesktopVirtualization/applicationGroups/ApplicationGroupName2" `
+ -Description 'Description'
+
+Location Name Type
+-------- ---- ----
+eastus WorkspaceName Microsoft.DesktopVirtualization/workspaces
+
+.Outputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdworkspace
+#>
+function New-AzWvdWorkspace {
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20201019Preview.IWorkspace])]
+[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(Mandatory)]
+ [Alias('WorkspaceName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the workspace
+ ${Name},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # The geo-location where the resource lives
+ ${Location},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String[]]
+ # List of applicationGroup resource Ids.
+ ${ApplicationGroupReference},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Description of Workspace.
+ ${Description},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [System.String]
+ # Friendly name of Workspace.
+ ${FriendlyName},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.ITrackedResourceTags]))]
+ [System.Collections.Hashtable]
+ # Resource tags.
+ ${Tag},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
# Wait for .NET debugger to attach
${Break},
@@ -2588,6 +3300,7 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
@@ -2738,11 +3451,190 @@ end {
<#
.Synopsis
-Remove an application.
+Remove an application.
+.Description
+Remove an application.
+.Example
+PS C:\> Remove-AzWvdApplication -ResourceGroupName ResourceGroupName -ApplicationGroupName ApplicationGroupName -Name ApplicationName
+
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
+.Outputs
+System.Boolean
+.Notes
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+INPUTOBJECT : Identity Parameter
+ [ApplicationGroupName ]: The name of the application group
+ [ApplicationName ]: The name of the application within the specified application group
+ [DesktopName ]: The name of the desktop within the specified desktop group
+ [HostPoolName ]: The name of the host pool within the specified resource group
+ [Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
+ [ResourceGroupName ]: The name of the resource group. The name is case insensitive.
+ [SessionHostName ]: The name of the session host within the specified host pool
+ [SubscriptionId ]: The ID of the target subscription.
+ [UserSessionId ]: The name of the user session within the specified session host
+ [WorkspaceName ]: The name of the workspace
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/remove-azwvdapplication
+#>
+function Remove-AzWvdApplication {
+[OutputType([System.Boolean])]
+[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
+param(
+ [Parameter(ParameterSetName='Delete', Mandatory)]
+ [Alias('ApplicationGroupName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the application group
+ ${GroupName},
+
+ [Parameter(ParameterSetName='Delete', Mandatory)]
+ [Alias('ApplicationName')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the application within the specified application group
+ ${Name},
+
+ [Parameter(ParameterSetName='Delete', Mandatory)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [System.String]
+ # The name of the resource group.
+ # The name is case insensitive.
+ ${ResourceGroupName},
+
+ [Parameter(ParameterSetName='Delete')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
+ [System.String]
+ # The ID of the target subscription.
+ ${SubscriptionId},
+
+ [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity]
+ # Identity Parameter
+ # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+ ${InputObject},
+
+ [Parameter()]
+ [Alias('AzureRMContext', 'AzureCredential')]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Azure')]
+ [System.Management.Automation.PSObject]
+ # The credentials, account, tenant, and subscription used for communication with Azure.
+ ${DefaultProfile},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Wait for .NET debugger to attach
+ ${Break},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be appended to the front of the pipeline
+ ${HttpPipelineAppend},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SendAsyncStep[]]
+ # SendAsync Pipeline Steps to be prepended to the front of the pipeline
+ ${HttpPipelinePrepend},
+
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Returns true when the command succeeds
+ ${PassThru},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Uri]
+ # The URI for the proxy server to use
+ ${Proxy},
+
+ [Parameter(DontShow)]
+ [ValidateNotNull()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.PSCredential]
+ # Credentials for a proxy server to use for the remote call
+ ${ProxyCredential},
+
+ [Parameter(DontShow)]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Runtime')]
+ [System.Management.Automation.SwitchParameter]
+ # Use the default credentials for the proxy
+ ${ProxyUseDefaultCredentials}
+)
+
+begin {
+ try {
+ $outBuffer = $null
+ if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) {
+ $PSBoundParameters['OutBuffer'] = 1
+ }
+ $parameterSet = $PSCmdlet.ParameterSetName
+ $mapping = @{
+ Delete = 'Az.DesktopVirtualization.private\Remove-AzWvdApplication_Delete';
+ DeleteViaIdentity = 'Az.DesktopVirtualization.private\Remove-AzWvdApplication_DeleteViaIdentity';
+ }
+ if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
+ }
+ $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
+ $scriptCmd = {& $wrappedCmd @PSBoundParameters}
+ $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
+ $steppablePipeline.Begin($PSCmdlet)
+ } catch {
+ throw
+ }
+}
+
+process {
+ try {
+ $steppablePipeline.Process($_)
+ } catch {
+ throw
+ }
+}
+
+end {
+ try {
+ $steppablePipeline.End()
+ } catch {
+ throw
+ }
+}
+}
+
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Remove a host pool.
.Description
-Remove an application.
+Remove a host pool.
.Example
-PS C:\> Remove-AzWvdApplication -ResourceGroupName ResourceGroupName -ApplicationGroupName ApplicationGroupName -Name ApplicationName
+PS C:\> Remove-AzWvdHostPool -ResourceGroupName ResourceGroupName -Name HostPoolName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
@@ -2759,30 +3651,24 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName ]: The name of the host pool within the specified resource group
[Id ]: Resource identity path
+ [MsixPackageFullName ]: The version specific package full name of the MSIX package within specified hostpool
[ResourceGroupName ]: The name of the resource group. The name is case insensitive.
[SessionHostName ]: The name of the session host within the specified host pool
[SubscriptionId ]: The ID of the target subscription.
[UserSessionId ]: The name of the user session within the specified session host
[WorkspaceName ]: The name of the workspace
.Link
-https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/remove-azwvdapplication
+https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/remove-azwvdhostpool
#>
-function Remove-AzWvdApplication {
+function Remove-AzWvdHostPool {
[OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(ParameterSetName='Delete', Mandatory)]
- [Alias('ApplicationGroupName')]
- [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
- [System.String]
- # The name of the application group
- ${GroupName},
-
- [Parameter(ParameterSetName='Delete', Mandatory)]
- [Alias('ApplicationName')]
+ [Alias('HostPoolName')]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Path')]
[System.String]
- # The name of the application within the specified application group
+ # The name of the host pool within the specified resource group
${Name},
[Parameter(ParameterSetName='Delete', Mandatory)]
@@ -2806,6 +3692,12 @@ param(
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
${InputObject},
+ [Parameter()]
+ [Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Category('Query')]
+ [System.Management.Automation.SwitchParameter]
+ # Force flag to delete sessionHost.
+ ${Force},
+
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
@@ -2868,8 +3760,8 @@ begin {
}
$parameterSet = $PSCmdlet.ParameterSetName
$mapping = @{
- Delete = 'Az.DesktopVirtualization.private\Remove-AzWvdApplication_Delete';
- DeleteViaIdentity = 'Az.DesktopVirtualization.private\Remove-AzWvdApplication_DeleteViaIdentity';
+ Delete = 'Az.DesktopVirtualization.private\Remove-AzWvdHostPool_Delete';
+ DeleteViaIdentity = 'Az.DesktopVirtualization.private\Remove-AzWvdHostPool_DeleteViaIdentity';
}
if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) {
$PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id
@@ -2916,11 +3808,11 @@ end {
<#
.Synopsis
-Remove a host pool.
+Remove an MSIX Package.
.Description
-Remove a host pool.
+Remove an MSIX Package.
.Example
-PS C:\> Remove-AzWvdHostPool -ResourceGroupName ResourceGroupName -Name HostPoolName
+PS C:\> Remove-AzWvdMsixPackage -HostPoolName HostPoolName -ResourceGroupName ResourceGroupName -SubscriptionId SubscriptionId -FullName PackageFullName
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IDesktopVirtualizationIdentity
@@ -2937,24 +3829,31 @@ INPUTOBJECT : Identity Parameter
[DesktopName ]: The name of the desktop within the specified desktop group
[HostPoolName