PowerShell Flashcards
How To add a feature to a local and remote computer
Install-WindowsFeature
You can deploy a feature to a remote computer using the “–computer” flag, as in:
Install-WindowsFeature -Computer
How to add migration tools
Install-WindowsFeature Migration
How to Switch from Full to Core?
Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-
Gui-Shell –Restart
(Also using “–Remove” actually removes the underlying binaries)
How to Switch Core to Full?
Install-WindowsFeature Server-Gui-Mgmt-Infra,ServerGui-Shell –Restart
How to Install Minimal Server Interface from Core?
Install-WindowsFeature Server-Gui-Mgmt-Infra
How to Install-WindowsFeature Server-Gui-Mgmt-Infra?
Uninstall-WindowsFeature Server-Gui-Shell (Note: you can add the –WhatIf flag to see other dependent components that might also be uninstalled)
How to us features on demand.
“Uninstall-WindowsFeatgure –name Gpmc –Vhd -Remove”
To perform this on a remote computer, include “-
Computer ”
What is the Group Policy Manager?
find out