Files
runner-images/images/win/scripts/Tests/WDK.Tests.ps1
Leonid Lapshin 2e6ca0ca56 syntax notation
2020-09-07 10:27:55 +03:00

12 lines
371 B
PowerShell

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" {
$version = Get-VSExtensionVersion -PackageName "Microsoft.Windows.DriverKit"
$version | Should -Not -BeNullOrEmpty
}
}