Skip to content

Commit 02079c0

Browse files
Move DesktopVirtualization to main (#16171)
* Move DesktopVirtualization to main * Update ChangeLog.md Co-authored-by: azure-powershell-bot <[email protected]>
1 parent 7d4928e commit 02079c0

File tree

641 files changed

+30138
-10295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

641 files changed

+30138
-10295
lines changed

src/DesktopVirtualization/Az.DesktopVirtualization.format.ps1xml

Lines changed: 912 additions & 238 deletions
Large diffs are not rendered by default.

src/DesktopVirtualization/Az.DesktopVirtualization.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 5/20/2021
6+
# Generated on: 10/22/2021
77
#
88

99
@{
@@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
4545
DotNetFrameworkVersion = '4.7.2'
4646

4747
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48-
# CLRVersion = ''
48+
# ClrVersion = ''
4949

5050
# Processor architecture (None, X86, Amd64) required by this module
5151
# ProcessorArchitecture = ''
@@ -126,7 +126,7 @@ PrivateData = @{
126126
# IconUri = ''
127127

128128
# ReleaseNotes of this module
129-
ReleaseNotes = '* Upgraded api version to 2021-02-01-preview.'
129+
# ReleaseNotes = ''
130130

131131
# Prerelease string of this module
132132
# Prerelease = ''

src/DesktopVirtualization/Az.DesktopVirtualization.psm1

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# region Generated
22
# ----------------------------------------------------------------------------------
3-
#
4-
# Copyright Microsoft Corporation
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
14+
# is regenerated.
1415
# ----------------------------------------------------------------------------------
1516
# Load required Az.Accounts module
1617
$accountsName = 'Az.Accounts'
@@ -32,7 +33,7 @@
3233
}
3334

3435
if(-not $accountsModule) {
35-
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
36+
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
3637
} elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) {
3738
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. 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
3839
}
@@ -50,6 +51,7 @@
5051
# Tweaks the pipeline on module load
5152
$instance.OnModuleLoad = $VTable.OnModuleLoad
5253

54+
5355
# Tweaks the pipeline per call
5456
$instance.OnNewRequest = $VTable.OnNewRequest
5557

src/DesktopVirtualization/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded api version to 2021-07-12.
2122

2223
## Version 3.0.0
2324
* Upgraded api version to 2021-02-01-preview.
Lines changed: 86 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,104 @@
1+
12
Microsoft Visual Studio Solution File, Format Version 12.00
23
# Visual Studio Version 16
3-
VisualStudioVersion = 16.0.29709.97
4+
VisualStudioVersion = 16.6.30114.105
45
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{B34252AE-C6F2-4312-AC91-986832AC2EB1}"
67
EndProject
7-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{62843FE6-7575-4D88-B989-7DF7EEC0BC01}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{6E65B750-9C0A-445A-9B0F-6313883B1796}"
89
EndProject
9-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{442C609B-A431-4A71-B289-08F0B63C83E5}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{F34903CC-50E7-49AA-A0AD-28AC9759DD80}"
1011
EndProject
11-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{A9E09A2D-2F96-4100-A160-11EA483F13FB}"
1213
EndProject
13-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Az.DesktopVirtualization", "Az.DesktopVirtualization.csproj", "{43828F38-9749-40DD-AAA4-AA972C787DDB}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{B7B972CC-FF90-402C-872E-83CD0E401B70}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DesktopVirtualization", "Az.DesktopVirtualization.csproj", "{DA54020D-80A7-4DA5-9889-AE79F81FC07A}"
1417
EndProject
1518
Global
1619
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1720
Debug|Any CPU = Debug|Any CPU
21+
Debug|x64 = Debug|x64
22+
Debug|x86 = Debug|x86
1823
Release|Any CPU = Release|Any CPU
19-
EndGlobalSection
20-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
23-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
24-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
25-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Debug|Any CPU.Build.0 = Debug|Any CPU
27-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Release|Any CPU.ActiveCfg = Release|Any CPU
28-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Release|Any CPU.Build.0 = Release|Any CPU
29-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{43828F38-9749-40DD-AAA4-AA972C787DDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{43828F38-9749-40DD-AAA4-AA972C787DDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{43828F38-9749-40DD-AAA4-AA972C787DDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{43828F38-9749-40DD-AAA4-AA972C787DDB}.Release|Any CPU.Build.0 = Release|Any CPU
24+
Release|x64 = Release|x64
25+
Release|x86 = Release|x86
4126
EndGlobalSection
4227
GlobalSection(SolutionProperties) = preSolution
4328
HideSolutionNode = FALSE
4429
EndGlobalSection
45-
GlobalSection(ExtensibilityGlobals) = postSolution
46-
SolutionGuid = {F9B3D96E-9680-40BE-A917-02EE655D6030}
30+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
31+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Debug|x64.ActiveCfg = Debug|Any CPU
34+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Debug|x64.Build.0 = Debug|Any CPU
35+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Debug|x86.ActiveCfg = Debug|Any CPU
36+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Debug|x86.Build.0 = Debug|Any CPU
37+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Release|Any CPU.Build.0 = Release|Any CPU
39+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Release|x64.ActiveCfg = Release|Any CPU
40+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Release|x64.Build.0 = Release|Any CPU
41+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Release|x86.ActiveCfg = Release|Any CPU
42+
{B34252AE-C6F2-4312-AC91-986832AC2EB1}.Release|x86.Build.0 = Release|Any CPU
43+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Debug|x64.ActiveCfg = Debug|Any CPU
46+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Debug|x64.Build.0 = Debug|Any CPU
47+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Debug|x86.ActiveCfg = Debug|Any CPU
48+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Debug|x86.Build.0 = Debug|Any CPU
49+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Release|x64.ActiveCfg = Release|Any CPU
52+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Release|x64.Build.0 = Release|Any CPU
53+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Release|x86.ActiveCfg = Release|Any CPU
54+
{6E65B750-9C0A-445A-9B0F-6313883B1796}.Release|x86.Build.0 = Release|Any CPU
55+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Debug|x64.ActiveCfg = Debug|Any CPU
58+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Debug|x64.Build.0 = Debug|Any CPU
59+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Debug|x86.ActiveCfg = Debug|Any CPU
60+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Debug|x86.Build.0 = Debug|Any CPU
61+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Release|Any CPU.ActiveCfg = Release|Any CPU
62+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Release|Any CPU.Build.0 = Release|Any CPU
63+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Release|x64.ActiveCfg = Release|Any CPU
64+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Release|x64.Build.0 = Release|Any CPU
65+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Release|x86.ActiveCfg = Release|Any CPU
66+
{F34903CC-50E7-49AA-A0AD-28AC9759DD80}.Release|x86.Build.0 = Release|Any CPU
67+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
68+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
69+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Debug|x64.ActiveCfg = Debug|Any CPU
70+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Debug|x64.Build.0 = Debug|Any CPU
71+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Debug|x86.ActiveCfg = Debug|Any CPU
72+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Debug|x86.Build.0 = Debug|Any CPU
73+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
74+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Release|Any CPU.Build.0 = Release|Any CPU
75+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Release|x64.ActiveCfg = Release|Any CPU
76+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Release|x64.Build.0 = Release|Any CPU
77+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Release|x86.ActiveCfg = Release|Any CPU
78+
{A9E09A2D-2F96-4100-A160-11EA483F13FB}.Release|x86.Build.0 = Release|Any CPU
79+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
80+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Debug|Any CPU.Build.0 = Debug|Any CPU
81+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Debug|x64.ActiveCfg = Debug|Any CPU
82+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Debug|x64.Build.0 = Debug|Any CPU
83+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Debug|x86.ActiveCfg = Debug|Any CPU
84+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Debug|x86.Build.0 = Debug|Any CPU
85+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Release|Any CPU.ActiveCfg = Release|Any CPU
86+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Release|Any CPU.Build.0 = Release|Any CPU
87+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Release|x64.ActiveCfg = Release|Any CPU
88+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Release|x64.Build.0 = Release|Any CPU
89+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Release|x86.ActiveCfg = Release|Any CPU
90+
{B7B972CC-FF90-402C-872E-83CD0E401B70}.Release|x86.Build.0 = Release|Any CPU
91+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
92+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Debug|Any CPU.Build.0 = Debug|Any CPU
93+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Debug|x64.ActiveCfg = Debug|Any CPU
94+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Debug|x64.Build.0 = Debug|Any CPU
95+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Debug|x86.ActiveCfg = Debug|Any CPU
96+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Debug|x86.Build.0 = Debug|Any CPU
97+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Release|Any CPU.ActiveCfg = Release|Any CPU
98+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Release|Any CPU.Build.0 = Release|Any CPU
99+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Release|x64.ActiveCfg = Release|Any CPU
100+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Release|x64.Build.0 = Release|Any CPU
101+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Release|x86.ActiveCfg = Release|Any CPU
102+
{DA54020D-80A7-4DA5-9889-AE79F81FC07A}.Release|x86.Build.0 = Release|Any CPU
47103
EndGlobalSection
48104
EndGlobal

src/DesktopVirtualization/build-module.ps1

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ----------------------------------------------------------------------------------
2-
#
3-
# Copyright Microsoft Corporation
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
43
# Licensed under the Apache License, Version 2.0 (the "License");
54
# you may not use this file except in compliance with the License.
65
# You may obtain a copy of the License at
@@ -10,6 +9,8 @@
109
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1110
# See the License for the specific language governing permissions and
1211
# limitations under the License.
12+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
13+
# is regenerated.
1314
# ----------------------------------------------------------------------------------
1415
param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
1516
$ErrorActionPreference = 'Stop'
@@ -104,13 +105,13 @@ if(Test-Path $customPsm1) {
104105

105106
$exportsFolder = Join-Path $PSScriptRoot 'exports'
106107
if(Test-Path $exportsFolder) {
107-
$null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
108+
$null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
108109
}
109110
$null = New-Item -ItemType Directory -Force -Path $exportsFolder
110111

111112
$internalFolder = Join-Path $PSScriptRoot 'internal'
112113
if(Test-Path $internalFolder) {
113-
$null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
114+
$null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
114115
}
115116
$null = New-Item -ItemType Directory -Force -Path $internalFolder
116117

@@ -122,7 +123,10 @@ $null = New-Item -ItemType Directory -Force -Path $examplesFolder
122123

123124
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
124125
$modelCmdlets = @()
125-
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1') -Models $modelCmdlets
126+
if ($modelCmdlets.Count -gt 0) {
127+
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
128+
CreateModelCmdlet($modelCmdlets)
129+
}
126130

127131
if($NoDocs) {
128132
Write-Host -ForegroundColor Green 'Creating exports...'
@@ -132,7 +136,7 @@ if($NoDocs) {
132136
$moduleDescription = 'Microsoft Azure PowerShell: DesktopVirtualization cmdlets'
133137
$docsFolder = Join-Path $PSScriptRoot 'docs'
134138
if(Test-Path $docsFolder) {
135-
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
139+
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
136140
}
137141
$null = New-Item -ItemType Directory -Force -Path $docsFolder
138142
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid

src/DesktopVirtualization/check-dependencies.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ----------------------------------------------------------------------------------
2-
#
3-
# Copyright Microsoft Corporation
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
43
# Licensed under the Apache License, Version 2.0 (the "License");
54
# you may not use this file except in compliance with the License.
65
# You may obtain a copy of the License at
@@ -10,6 +9,8 @@
109
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1110
# See the License for the specific language governing permissions and
1211
# limitations under the License.
12+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
13+
# is regenerated.
1314
# ----------------------------------------------------------------------------------
1415
param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
1516
$ErrorActionPreference = 'Stop'
@@ -56,7 +57,7 @@ $resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestS
5657
if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
5758
Write-Host -ForegroundColor Green "Building local Resource module used for test..."
5859
Set-Location $resourceDir
59-
$null = autorest .\readme.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
60+
$null = autorest .\README.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
6061
$null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
6162
Set-Location $HOME/.PSSharedModules/Resources
6263
$null = .\build-module.ps1

0 commit comments

Comments
 (0)