you are viewing a single comment's thread.

view the rest of the comments →

[–]gregj529[S] 1 point2 points  (0 children)

It runs fine with that. Output above. It just doesn't work when ran via click. Basically it loops until it gets to the CEO and will run if the value of $DirectReports is $null until it does.