Author Posts

February 8, 2016 at 5:26 pm

When I try to execute exercise from MOL video :
Chapter 12 – Working with Child Jobs.mp4

Receive-Job -id 15 | select -ExpandProperty childjobs

I get error:

select : Property "childjobs" cannot be found.

February 8, 2016 at 5:54 pm

Receive-Job allows you to display output of current running jobs.
The output is type System.String. Select the child jobs from 'Get-Job.'

Get-Job -Id 15 | Select-Object -ExpandProperty childjobs

February 9, 2016 at 4:32 pm

ah I see, thanks random