Files
runner-images-temp/images/win/scripts/Tests/WDK.Tests.ps1
T

12 lines
371 B
PowerShell
Raw Normal View History

2020-07-30 12:12:49 +05:00
Describe "WDK" {
It "WDK exists" {
$WDKVersion = (Get-CimInstance -ClassName Win32_Product -Filter "Name = 'Windows Driver Kit'").Version
$WDKVersion| Should -Not -BeNullOrEmpty
}
It "WDK version from system" {
2020-09-10 17:04:24 +03:00
$version = Get-VSExtensionVersion -packageName "Microsoft.Windows.DriverKit"
2020-07-30 12:12:49 +05:00
$version | Should -Not -BeNullOrEmpty
}
}