Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

Organize VM's into Folders based on Active Directory Info?

$
0
0

Here is what we are looking to do and I wanted to throw it out to see if anyone had any PowerCLI scripts or snipets that would get me on the right direction.

 

We want our VMs and Templates view to have folders and to then place VM's into those folders based on the users Division and Department information that is store in Active Directory.  So here is how I would envison the script would run.

 

It would connect to vCenter, find the first VM's name, search AD to find which user that VDI belongs to, then read the Division/Department and move that VM into the matching folder that is already created in Virtual Center.

 

So in vCenter you would see:

 

VDI Farm

             \IT

                \VDIMachine1

              \SALES

                VDIMachine2


Viewing all articles
Browse latest Browse all 176483

Trending Articles



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