Windows PowerShell Remoting

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What command is used to enable PowerShell remoting?

Enable-PSRemoting

2
New cards

What windows service does powershell remoting use?

WinRM

3
New cards

What is the kerberos second hop problem?

Kerberos won’t pass privileges over a second hop

4
New cards

What command do you use to start a PS remote session? What about for VM’s?

Enter-PSSesstion -computername/VMName

5
New cards

What command can you use to send commands to a remote machine without having to start a PS remote session?

Invoke-Command -computername -scriptblock

6
New cards

What command do you use to create a persistent session?

$variable = New-PSSession

7
New cards

What is one-to-many?

Using PS remoting to send commands to multiple systems

8
New cards

What type of account should you use for PS remoting?

An admin account

9
New cards

What are the 5 workarounds to the kerberos second hop problem?

CredSSP, Kerberos Delegation, JEA, RunAsCredential, Invoke-Command

10
New cards

What is CredSSP?

Credential security support provider caches credentials on a remote server to be used on a 2nd server, not super secure

11
New cards

What is Kerberos delegation?

More secure than CredSSP but complicated to set up

12
New cards

What is JEA?

Just Enough Administration can be used to define user privileges for PS remoting

13
New cards

Where does PS remoting have to be configured?

On the remote machine

14
New cards

What command do you use to exit a PS remote session?

Exit-PSSession

15
New cards

What command do you use to see open PS remote sessions?

Get-PSSession

16
New cards

Where must CredSSP be configured?

Client, intermediary server

17
New cards

What 3 steps are part of the JEA process?

Create a role capability file, create a session config file, then the register session config file

18
New cards

What command do you use to create a new PS session configuration file?

New-PSSessionConfigurationFile

19
New cards

What are the 3 kerberos delegation types?

Unconstrained, Constrained, and resource-based

20
New cards

What command do you use to create a new PS role capability file?

New-PSCapabilityFile