We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5ad33 commit d4e50beCopy full SHA for d4e50be
bin/install_media_pack.ps1
@@ -1 +1,5 @@
1
-Install-WindowsFeature Server-Media-Foundation
+$osInfo = Get-WmiObject -Class Win32_OperatingSystem
2
+# check if running on Windows Server
3
+if ($osInfo.ProductType -eq 3) {
4
+ Install-WindowsFeature Server-Media-Foundation
5
+}
0 commit comments