For a true powershell experience, you need to download the Windows AIK for 8.0 and use the
dism module. It's found in
C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\<arch>\DISM
and you can just point powershell to that folder with
Import-Module C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\<arch>\DISM
Make sure you replace < arch > with the architecture of the machine powershell is running on. That DISM folder can even be copied and redistributed to machines if need be (speaking on functionality, I don't know if redistributing is actually allowed by Microsoft).
The specific command to toss out a Windows optional feature is
Get-WindowsOptionalFeature -Online | where FeatureName -eq mediacenter
That will return a
Microsoft.DISM.Commands.BasicFeatureObject, as seen here. From there, you can set the
state property to disabled, like
$(Get-WindowsOptionalFeature -Online | where FeatureName -eq mediacenter).state =
and bye bye media center. Of course, this has to be run from an elevated prompt, and the
-Online switch refers to the current running Windows, as opposed to an offline image.
Also, this module requires WMF 3.0 and that requires .NET 4.0, just FYI.