Teach your co-workers to lock their PCs with the help of a harmless prank!

The goal of this is to teach your co-workers to be more security conscious and LOCK THEIR PC when they walk away from their desk.  Locking your PC stops unauthorized people from accessing your PC, viewing a document that has sensitive data, AND playing a prank such as THIS!  This is especially important when you have access to sensitive data,…

Share This:
Read More

Is Your Flash Plugin Crashing with the vSphere Web Client?

I had this problem recently.  No matter what browser I used, I couldn’t get past the login screen of the vSphere Web Client.  My PC had upgraded to Flash Player 27.0.0.170 a few days ago.  I attempted to uninstall this version and install a previous one with no success.  But after doing some research, I found a KB Article from…

Share This:
Read More

Using PowerCLI to Create a Local Scratch Partition

My company recently purchased some Dell Servers with ESXi installed to local SD cards. The issue we had was that the 8gb SD cards that came with the server and there wasn’t enough space on the cards for a scratch partition.  We ordered the servers with a single 300gb HD in order to get the RAID controller, so we decided…

Share This:
Read More

vDocumentation: Check Out These Scripts To Automate Your Documentation!

Now that VMworld 2017 US has come to a close, many of the sessions are already up on youtube to watch. One of the ones I watched yesterday was SER2077BU – Achieve Maximum vSphere Stability with PowerCLI Assisted Documentation.  My friend, Ariel Sanchez Mora (@arielsanchezmor), and his friend, Edgar Sanchez (@EdmSanchez13), put together these scripts to automatically document your environment.…

Share This:
Read More

Script to disable protocols older than TLS 1.2 and turn off RDP

My InfoSec team came to us asking we disable anything older than TLS 1.2 and turn off RDP on our servers in the DMZ.  We don’t allow RDP in the DMZ anyway, and they found that leaving RDP on when not using it poses a security risk. To do this, it involved multiple registry changes.  With several servers to do…

Share This:
Read More

PowerCLI script to forcibly delete a Datastore that is reported as in use.

Have you ever tried to delete a datastore and get an error saying the Datastore is in use? You browse the datastore and see nothing on it. The pre-checks when you unmount it all pass, yet you cannot delete it. We had this problem. VMware support directed us to delete the partition using the partedUtil command, but I didn’t like…

Share This:
Read More

Updating Dell Firmware/BIOS en mass

We recently ran into an issue where we had to update the Firmware & Bios on a bunch of Dell servers.  As these are VMware hosts, we couldn’t just run the Dell System Update Utility, as I would on a normal Windows host.  My coworker, @bspagna, and I decided to look at doing this via the iDRAC. Prerequisites:  Dell Repository…

Share This:
Read More

PowerCLI Script to Check Host Over-commitment Percentage & Ratios

At my previous employer, we had a Dev/QA vSphere environment that was very over provisioned.  The environment had lots of CPUReady issues with VMs having to wait for CPU time, which caused things to be slow, etc.  We knew this but the application teams didn’t understand.  I ended up writing a PowerCLI script to check the CPU overcommitment and sent…

Share This:
Read More

Script to backup your vCenter DRS Rules

I was thinking yesterday, I have a script that I run on a monthly basis to backup my vDS configs…  Shouldn’t I also have something that does the same for my DRS rules?  So, I wrote a script that I can schedule to run on a weekly/monthly basis to backup my DRS rules. I have multiple vCenter servers, so I…

Share This:
Read More

Running the vSphere Web Client via Remote Desktop Manager

As you may have seen, I really like a tool from a company called Devolutions called Remote Desktop Manager.  I use it to manage my RDP sessions, Credentials, SSH sessions, as well as to manage my iDRAC/iLO connections.  I also have it manage my connections to my VMware environments.  For the environments that support the VI Client, I have those…

Share This:
Read More