- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That code doesn't have a problem as far as I can see.
But then this is probably not the code you ran since the line number in the error doesn't correspond.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference