- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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