March 30th, 2015

PowerTip: Use PowerShell to See if Media Center is Installed

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to determine if a Windows 8.1 has Media Center installed.

Hey, Scripting Guy! Question How can I use Windows PowerShell to determine if a version of Windows 8.1 has Media Center installed?

Hey, Scripting Guy! Answer Use WMI and look at the Caption property of the Win32_OperatingSystem WMI class, for example:

(Get-CimInstance Win32_OperatingSystem).caption

Note  You can also use the alias GCIM, or use Get-WmiObject (alias GWMI).

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.