Id CommandLine -- ----------- 1 notepad 2 notepad 3 gci 4 start-job -scriptblock { gci } 5 start-job -scriptblock { gci } -WorkingDirectory /tmp 6 start-job -scriptblock { gci } -WorkingDirectory /Windows 7 start-job -scriptblock { gci -WorkingDirectory /Windows } 8 start-threadjob -scriptblock { gci } 9 Install-Module -Name ThreadJob 10 start-threadjob -scriptblock { gci } 11 invoke-command -command { get-process } 12 invoke-command -command { get-process } -hostname localhost -asjob -jobname MyRemoteJob 13 invoke-command -command { get-process } -computername localhost -asjob -jobname MyRemoteJob 14 Get-Job 15 gci -WorkingDirectory /Windows 16 gci /Windows 17 start-job -scriptblock { gci /Windows } 18 Get-Job 19 dir 20 get-job -id 1 | format-list * 21 Get-Job 22 receive-job -id 1 23 gci 24 get-job 25 receive-job -id 1 26 get-job 27 receive-job -id 3 keep 28 receive-job -id 3 -keep 29 receive-job -id 8 -keep 30 receive-job -id 8 -keep 31 get-job 32 receive-job -name myremotejob | sort-object PSComputerName | Format-Table -groupby PSComputerName 33 invoke-command -computername DESKTOP-46AVB2C -command { get-process } -asjob -jobname MyRemoteJob 34 receive-job -name myremotejob | sort-object PSComputerName | Format-Table -groupby PSComputerName 35 invoke-command -computername DESKTOP-46AVB2C -ScriptBlock { get-process } -asjob -jobname MyRemoteJob 36 receive-job -name myremotejob | sort-object PSComputerName | Format-Table -groupby PSComputerName 37 get-job 38 Remove-Job -Name MyRemoteJob 39 get-job 40 invoke-command -computername DESKTOP-46AVB2C -ScriptBlock { get-process } -asjob -jobname MyRemoteJob 41 get-job 42 receive-job -name myremotejob | sort-object PSComputerName | Format-Table -groupby PSComputerName 43 invoke-command -computername DESKTOP-46AVB2C -ScriptBlock { get-process } 44 Invoke-Command -ComputerName DESKTOP-46AVB2C -ScriptBlock { Get-Process -name powershell } 45 cd 'C:\Users\Jim Martinson\Documents\CST1861\Week\10'