Mange Windows Server Core Flashcards

1
Q

What is the PoSH command to add a computer to a domain?

A

Add-Computer -DomainName -Credential(Get-Credentia)

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

What is the PoSH command to initiate a session directly on a remote machine?

A

Enter-PSSession -ComputerName

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

What is the PoSH command to install a windows role and all its sub-components?

A

Install-WindowsFeature -Name -IncludeAllSubFeature

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

What protocol does PoSH remoting use?

A

HTTP
Firewall friendly
(Invoke-Command, Enter-PSSession)

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

What protocol does Get-Service use when referencing a remote computer?

A

Windows DCOM (rpc)

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

What is the PoSH command to send a command to a remote computer?

A

Invoke-Command -ComputerName -ScriptBlock {}

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

What is PoSH DSC?

A

Desired State Configuration

Applies state configurations to LCM

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

What does the aspect of DSC being idempotent mean?

A

When a configuration is applied or reapplied it only changed things not in the desired state

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

What is a .mof file?

A

Managed Object Framework file, a deliverable that gets sent to each machine compiled from a DSC configuration

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

What is LCM?

A

Local Configuration Manager

Applies configurations to local machine

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

What is the PoSH command to push DSC configurations to target machines?

A

Start-DscConfiguration

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

What is the PoSH command to retrieve a DSC configuration from a central location?

A

Pull-DscConfiguration

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

What is the PoSH command to view LCM properties?

A

Get-DscLocalConfigurationManager

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

What is the PoSH command to see the DSC state?

A

Get-DscConfiguration

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

What is the PoSH command to check for configuration drift?

A

Test-DscConfiguration

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

What is the PoSH command to view installed windows features?

A

Get-WindowsFeature | Where-Object Installed -eq True

17
Q

What is the legacy command to domain join a computer?

A

netdom join %computername% /domain: /userd: /password: