Now that Microsoft has made PowerShell open source it can be installed on Mac OS X and Linux. In this article I’ll discuss the steps on installing it on Linux Ubuntu.
Step 1 – Download the package
As seen in the image above, I have the newest distro of Ubuntu. The first step into getting PowerShell installed is downloading the package from Github as it hasn’t been added to any of the repositories yet.… Continue reading
I was tasked with writing a script to find a single registry key on all of the server for a domain that my team manages. So after getting the key that we need to know the value of, I put a script together. The script will first check to see if the server is online, and if it is then the scripts looks at the registry to find the key and records the value. … Continue reading
I’ve posted about the PowerShell profile before but I didn’t really go in depth on it, so I wanted to revisit the subject to make sure that I address some of the points that I may have missed.
To find your PowerShell profile location, you can use PowerShell to list it.
This will bring back the directory %UserProfile%\Documents\WindowsPowerShell. … Continue reading
I’m just starting to scratch the surface with Windows PowerShell Desired State Configuration (DSC). This seems to be the proper way to accurately configure multiple servers with the identical configuration. Using DSC (Desired State Configuration) to configure servers is as simple as generating a base template that you want to use to setup the servers, and then run it against a list or single server.… Continue reading
After taking the PowerCli HOL from VMware, I been thinking of putting together a home lab. I been reading a lot of information about
others bloggers using Mini PCs- such as the Intel NUCs, Mac Minis, and even custom built whitebox servers. Unfortunately, being a father of 3 kids means I have to be on a tight budget, and at the same time I don’t want to skimp and have a under powered home lab. … Continue reading
This is the first year that I’ve been included in the running for Top vBlog. It feels good to be on the list with all of the other great virtualization blogs from around then web. This voting is taking place at vSphere-Land.com, which is ran by Eric Siebert. The polls are currently open and looking for the Top 25 vBlogs of 2016.… Continue reading
Have you been wanting to learn PowerCLI but don’t have a test environment to practice with out the fear of breaking live production? That is where this hands-on-learning (HOL) lab from VMware can come in handy. I personally worked through this HOL and found that the information that was provide to be very thorough to help with beginners wanting to start with PowerCLI. … Continue reading
This is a continuation of my last post, Using PowerCli to Build multiple VMs.
After automating the building of VMs, what’s the sense of having to manually add the IP information or updating the VMware tools? It’s pointless. So we need to add the IP information to the CSV file that was used to build the VMs.… Continue reading
My first script that I ever wrote was a script to build VMs. I was the newest member on the team, and i was giving the task of building 50 VMs for a new project that was getting started. It was a very daunting task, due to the completion date to have these 50 VMs to be completed.… Continue reading
In my environment at work we have a policy that we thin provision all new VMs. We had an issue with a datastore that was running out of space, so I starting looking into it and found that several of the VMs on this datastore were set with thick provisioning on the hard drives.
This outputs a list of VMs with the storageformat that is set to thick. … Continue reading