Ripping from the original source...PS> new-job { get-date; start-sleep 5; get-date }
Job 0 Started#
PS>
Job 0 Completed
PS> jobs 0JobId Status Command Results
----- ------ ------- -------
5 Completed get-date; start-sleep 5; ... 8/30/2006 4:47:32 PMPS> (jobs 0).resultsWednesday, August 30, 2006 4:47:32 PM
Wednesday, August 30, 2006 4:47:37 PMLooks very cool to me. Now to find some uses for this! :)
Thursday, August 31, 2006
Unix Style Background Jobs in Powershell
Labels:
Technology
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment