never-displayed
View discussion in a popup
That will work as well (there is always more than one way to achieve something in PowerShell).
I used the Get-View construct, since that tends to be a bit faster in larger environments.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference