mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
* add windows2022 image template Co-authored-by: Aleksandr Chebotov <v-aleche@microsoft.com> Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com> Co-authored-by: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
12 lines
392 B
PowerShell
12 lines
392 B
PowerShell
Describe "WDK" -Skip:(Test-IsWin22) {
|
|
It "WDK exists" {
|
|
$WDKVersion = (Get-CimInstance -ClassName Win32_Product -Filter "Name = 'Windows Driver Kit'").Version
|
|
$WDKVersion| Should -Not -BeNullOrEmpty
|
|
}
|
|
|
|
It "WDK version from system" {
|
|
$version = Get-VSExtensionVersion -packageName "Microsoft.Windows.DriverKit"
|
|
$version | Should -Not -BeNullOrEmpty
|
|
}
|
|
}
|