never-displayed
View discussion in a popup
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