- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You were missing the code-block for the ForEach.
Not sure what the purpose of the 'export' at the end is, but I removed it for now.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference