mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +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
|
|
}
|