PowerShell Flashcards

1
Q

How To add a feature to a local and remote computer

A

Install-WindowsFeature
You can deploy a feature to a remote computer using the “–computer” flag, as in:
Install-WindowsFeature -Computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to add migration tools

A

Install-WindowsFeature Migration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to Switch from Full to Core?

A

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-
Gui-Shell –Restart
(Also using “–Remove” actually removes the underlying binaries)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to Switch Core to Full?

A

Install-WindowsFeature Server-Gui-Mgmt-Infra,ServerGui-Shell –Restart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to Install Minimal Server Interface from Core?

A

Install-WindowsFeature Server-Gui-Mgmt-Infra

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How to Install-WindowsFeature Server-Gui-Mgmt-Infra?

A

Uninstall-WindowsFeature Server-Gui-Shell (Note: you can add the –WhatIf flag to see other dependent components that might also be uninstalled)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to us features on demand.

A

“Uninstall-WindowsFeatgure –name Gpmc –Vhd -Remove”
To perform this on a remote computer, include “-
Computer ”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Group Policy Manager?

A

find out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly