playwright/packages/playwright-core/bin/install_media_pack.ps1
2021-10-29 20:12:46 +02:00

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
}