Add Windows Server 2022 image templates (#3929)

* add windows2022 image template

Co-authored-by: Aleksandr Chebotov <[email protected]>
Co-authored-by: Mikhail Timofeev <[email protected]>
Co-authored-by: Aleksandr Chebotov <[email protected]>
Co-authored-by: MaksimZhukov <[email protected]>
This commit is contained in:
Maxim Lobanov
2021-08-23 11:13:14 +03:00
committed by GitHub
co-authored by Aleksandr Chebotov Mikhail Timofeev Aleksandr Chebotov MaksimZhukov
parent 20584a4394
commit a2d76d2a0e
19 changed files with 679 additions and 75 deletions
@@ -59,8 +59,8 @@ Describe "AzureModules" {
if ($module.default) {
$moduleInfo = @{ moduleName = $moduleName; moduleDefault = $module.default }
It "<moduleDefault> set as default" -TestCases $moduleInfo {
$moduleVersion = (Get-Module -ListAvailable -Name $moduleName).Version.ToString()
$moduleVersion | Should -Match $moduleDefault
$moduleVersions = Get-Module -ListAvailable -Name $moduleName | ForEach-Object { $_.Version.ToString() }
$moduleVersions | Should -Contain $moduleDefault
}
}
}