2022-06-29 15:46:22 +02:00
|
|
|
Describe "WDK" {
|
|
|
|
|
It "WDK exists" {
|
|
|
|
|
$regKey = "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*"
|
|
|
|
|
$installedApplications = Get-ItemProperty -Path $regKey
|
|
|
|
|
$WDKVersion = $installedApplications | Where-Object DisplayName -eq 'Windows Driver Kit' | Select-Object -First 1 -ExpandProperty DisplayVersion
|
|
|
|
|
$WDKVersion | Should -Not -BeNullOrEmpty
|
|
|
|
|
}
|
2020-07-30 12:12:49 +05:00
|
|
|
|
2022-09-09 10:56:40 +02:00
|
|
|
It "Windows Driver Kit VSIX extension" {
|
2022-06-29 15:46:22 +02:00
|
|
|
$version = Get-VSExtensionVersion -packageName "Microsoft.Windows.DriverKit"
|
|
|
|
|
$version | Should -Not -BeNullOrEmpty
|
|
|
|
|
}
|
2020-07-30 12:12:49 +05:00
|
|
|
}
|