Become a Part of the VMware {code} Community


VMware {code} is a free developer program that provides access to a growing community of developers and experts. If you are an existing Developer Center user or partner program member, you can join the new VMware {code} program using your MyVMware account. If you do not have one, register below to access SDKs and participate in developer forums.

Join VMware {code} with More Than 13539 Developers and VMware Experts

VMware {code} has the fastest-growing developer community devoted to virtualization, cloud computing, DevOps, and other topics.

When you join VMware {code}, you will have the opportunity to connect with VMware experts in the community and participate in outreach programs such as the VMware {code} Speaker Bureau.

Who's On Slack Right Now

For complete message and to post reply visit
magneet_nl  2020-02-20 23:22:35 CST
Yeah, they are completely different books
nils.kristiansen  2020-02-20 21:19:09 CST
A lot. Thousands of words :wink:
anduso  2020-02-20 18:05:58 CST
how different are VMware vSphere 6.7 Clustering Deep Dive and vSphere_6.5_Host_Resources_Deep_Dive books?
dprows  2020-02-20 15:57:33 CST
well that's cool
saxena.shubhank.19  2020-02-20 13:38:36 CST
@saxena.shubhank.19 has joined the channel
sk82jack  2020-02-20 12:38:26 CST
So thinking about it what I would do is have your `$users = ...` that you have above and then have `$JobTitles = $Users | Group-Object -Property 'Job Title'` and that will give you the unique job titles but also will group each user in the `Group` property of that outputted object
dprows  2020-02-20 11:27:42 CST
that's what I was thinking. the use case, at the moment, is to first take the job titles and verify there is a security group for each one, create if not, and then add the appropriate users to each group based on their job title, if they aren't already a member
sk82jack  2020-02-20 11:26:21 CST
Depends what you're doing with it later on. You would need to use the current method to convert from CSV anyway and the only real benefit of a hashtable I can think of is faster and more convenient lookups but if you're not looking up the information often then doesn't really make sense to convert.
dprows  2020-02-20 11:22:53 CST
in the current state, it is for less than 300 records, but I want to do what ever is best for long term and in case the script gets shared with others.
dprows  2020-02-20 11:21:45 CST
Is there any benefit to putting this into a hash table vs using an array?


Ready to dig deeper? In addition to our Slack team, you can register for a My VMware account to download the latest SDKs, get recognition for your code samples, and participate in our online community forums.

Download SDKs

Download the Latest VMware SDKs

Your account gives you access to the latest SDKs for vSphere, Horizon, WorkspaceONE, and other VMware technology platforms.


Participate in Developer Forums

Share knowledge and interests in the VMware Communities forums with more than 2 million virtualization experts and community members across the globe.


Get Credit for Your Code Samples

Contribute your code samples to VMware Sample Exchange to earn points and get recognition, or request a code sample from the community.



Subscribe to the VMware {code} newsletter for access to the latest hands-on labs, blogs, podcasts, how-to videos, and other content delivered directly to your inbox.

VMware {code} Newsletter »


Follow VMware {code} on Twitter to get the real-time news and updates from VMware and the community.

Follow @vmwarecode »


Explore and contribute to open-source projects such as VMware Integrated OpenStack and the Photon Platform.

VMware on Github »