2018-12

Ubuntu – Add Keyboard Shortcut for line in

I use the line in connection on my desktop to route audio for sources other than my PC to the speaker system attached to my computer. For whatever reason, this is still annoyingly cumbersome, even in 2018. For years, I’ve done this by using Alsamixer, a command line mixer. This is fine enough, I guess, but I wanted something a bit more intuitive. The finished result shows the screen popup below, and is triggered by a key combination that executes a script.

Continue reading “Ubuntu – Add Keyboard Shortcut for line in”

Use PowerCLI to determine the ESXi host with the most available RAM

I’m working on a project right now that requires me to do a shared nothing cross vCenter vMotion of about 6K VMs. As you might know, cross vCenter vMotion requires you to specify the ESXi host and the Datastore your VM will live in within the target vCenter; no targeting a cluster of any kind. This brings up some interesting challenges when trying to automate the migration of such a large amount of VMs. One in particular, is the need to target the ESXi host that has the most free space. I am using the function below to do just this – hopefully it helps!

Continue reading “Use PowerCLI to determine the ESXi host with the most available RAM”