TroubleShootLimit-Job.ps1

#get-job 51 | Receive-Job

get-job | remove-job
# Invoke-Pester

#
Test-ModuleManifest .\Powershell.Helper.Extension.psd1
Import-Module .\Powershell.Helper.Extension.psd1
            CLS
            get-job | remove-job
            $StartJob = @({start-job -ScriptBlock { get-service | select -First 10 }},{start-job -ScriptBlock { Get-ChildItem c:\  | select -First 10 }},{start-job -ScriptBlock { get-process | select -First 10 }}  )
            $Limit = 1
            $job = Limit-Job -StartJob $StartJob -Limit $Limit
            get-job | Wait-Job
            get-job | ft

            get-job | foreach {
                write-host $_.Command
                $_ | Receive-Job | ft
           }
Remove-Module "Powershell.Helper.Extension"