November 2018
Intermediate to advanced
566 pages
17h 15m
English
The New-PSSession, Enter-PSSession, and Invoke-Command cmdlets are the three cmdlets that help with the PowerShell remoting feature. Let's dig further to dissect the internals of PowerShell remoting:
PS> $Session= New-PSSession -HostName wintel01 -UserName ramram@wintel01's password:
PS> $session
PS> Enter-PSSession -Session $session[wintel01]: PS>
PS> Invoke-Command $session -ScriptBlock ...
Read now
Unlock full access