childjobs Property error

Welcome Forums General PowerShell Q&A childjobs Property error

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 9 months ago.

  • Author
    Posts
  • #35019

    Participant
    Points: 58
    Rank: Member

    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.

  • #35021

    Participant
    Points: 10
    Rank: Member

    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
  • #35061

    Participant
    Points: 58
    Rank: Member

    ah I see, thanks random

The topic ‘childjobs Property error’ is closed to new replies.