Course 10982 – Windows 10 Troubleshooting
Windows PowerShell Remoting
Invoke-Command –ComputerName LON-CL1 –ScriptBlock {Get-EventLog –log system}
$s = New-PSWorkflowSession –ComputerName LON-CL1
Enter-PSSession $s
Get-Command
Invoke-Command -Session $s -ScriptBlock {$c = Get-command}
Invoke-Command -Session $s -ScriptBlock {$c.count}
Invoke-Command -ComputerName LON-CL1, LON-CL3 -ScriptBlock {Get-Culture}
$s = New-PSWorkflowSession -ComputerName LON-CL1, LON-CL3
Invoke-Command -Session $s -ScriptBlock {$c = Get-command}
Invoke-Command -Session $s -ScriptBlock {$c.count}
ISE Remoting
Get-Service | Where-Object {$_.Status -eq “Running”}
Get-NetIPConfiguration
Restart-Computer -Force