mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
6 lines
174 B
PowerShell
6 lines
174 B
PowerShell
|
$osInfo = Get-WmiObject -Class Win32_OperatingSystem
|
||
|
# check if running on Windows Server
|
||
|
if ($osInfo.ProductType -eq 3) {
|
||
|
Install-WindowsFeature Server-Media-Foundation
|
||
|
}
|