Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

Extract VM's complete folder strcuture

$
0
0

Hello Techies,

 

Need help, am pretty new to scripting.

 

I need to extract the Complete Folder structure of VM's using Powercli/ Powershell script. As per the attached screen shot.

 

The kind of output I'm looking for something like "\vCenter Server name\Datacenter Name\Parent Folder\Sub Folder\". Currently I'm able to extract the current folder in which the VM is residing not the complete the folder structure.

 

Looking for your valuable inputs.

 

Thanks


Viewing all articles
Browse latest Browse all 16717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>