Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

If there are client-side tasks, there will not be an Id property, hence the error.

Try changing those lines to

    Get-Task | where{$_.Id} | % {


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos