1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-20 01:31:34 +03:00
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
}