Files
runner-images/images/win/scripts/Tests/WDK.Tests.ps1
Maxim Lobanov a2d76d2a0e Add Windows Server 2022 image templates (#3929)
* 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>
2021-08-23 11:13:14 +03:00

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
}
}