playwright/packages/playwright-core/bin/install_media_pack.ps1
Max Schmitt dd1d3c3ed9 Revert "chore: migrate away from ps1 in install-deps on Windows (#9876)"
This reverts commit 59a406a586de5cbe39ce092b591c2c2271936f1c.
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
}