Export vCenter Roles and Permissions with PowerCLI

This doesn’t seem like a difficult task, but configuring new roles in vCenter is just terrible. On my team at work we have one guy that does it all the time. When he does have to configure a new role he complains a lot about it, but because its so tedious. So when it can time for me to have to duplicate a role that we already have in one vCenter to another one, I wanted to see how difficult it would be to export the needed privileges and import them.… Continue reading

PowerShell and Math Homework

My 10 year daughter asked me to check her math homework tonight. Math was my best subject in school, but that was a long time ago. The assignment that she had was to find if several of numbers where divisible by 2, 3, 4, and 5. I started to look at it this and said that I could write a computer script to check the answers.… Continue reading

My 10 year daughter asked me to check her math homework tonight. Math was my best subject in school, but that was a long time ago. The assignment that she had was to find if several of numbers where divisible by 2, 3, 4, and 5. I started to look at it this and said that I could write a computer script to check the answers.… Continue reading

PowerCLI to Update VMHost Name

What’s your (host)name?

While digging through Log Insight on a problem, I found a new one.  A large majority of VMhosts were not configured with a proper hostname.  This was also backup by the vCheck report that gets generated weekly.  The hosts were configured with ‘localhost’ as the hostname, which makes this a huge pain when trying to follow the logs.… Continue reading