Script: Get-FolderContents

Note: This script is useful for historical purposes only. It does not work with the released version 1.

This returns "full" VM objects for the folder name specified. Required parameters are $ServerName which poitns to your VC or ESX, and $FolderName which is a string. Optionally you can provide a $Credential parameter to avoid being prompted to login.

Attachments
Comments

Nice script. Thanks for posting.

Robert Dell'Immagine, Director of VMware Communities