Say I run a PowerShell script like this:
C:\utils\powershell\MDB_BE>powershell -File .\MonitorFileSize.ps1
WARNING: column "Command" does not fit into the display and was removed.
Id Name State HasMoreData Location
-- ---- ----- ----------- --------
1 Job1 Running True localhost
...and that PowerShell script kicks off a Job...
When I open another PowerShell window I notice that the job is not listed when I run Receive-Job 1
, so where did the job go, and how can I leave it running, find it again when I exit the Powershell process?