Ever since I wrote my blog series Git Integration with VS Code, I’ve been wanting to do a similar series of posts for those of us who primarily run MacOS. While a lot of the similar concepts from that series apply, I still wanted to go through the process step-by-step for those who may be completely new to this concept.
As a VMware administrator, I want the ability to write or update my PowerCLI scripts on GitHub from whatever system I have with me. Sometimes it may be my corporate-issued Windows device, and other times it might be my personal MacBook Pro. Regardless, I want to be able to synchronize my work on both systems and platforms. Now that both Microsoft PowerShell and Visual Studio Code are available on both platforms, I can work on either platform at any time and pick right up where I may have left off.
Continue reading “Git with VS Code for Mac: Part 1 – Installing PowerShell and VMware PowerCLI”
So… I’m REALLY behind in getting this post published! Last year, I my “Goals for 2018” post was written and published by the 2nd week of January. This year, however, I’ve clearly fallen behind in getting this post out to the world. (BIG ‘Whoops’). It’s been in a draft state since mid- January, but I never took the time to sit down and put the rest of the post together. But, better late than never I suppose.
Last year, I missed the mark on a few of my goals, and I hope this post continues to serve as a reminder of what I hope to accomplish this year. As a matter of fact, because I waited so long to get this post published, I’ve actually accomplished two of the six goals listed, already. Continue reading “My Personal Goals for 2019”
Hey everyone! I’ll be kicking off the start of 2019 with some exciting news! I am now officially the newest member of the Pittsburgh VMUG Leadership Team! Though I’m technically the rookie of the group, I’ll be helping the other leaders plan meetings, find venues, coordinate food and drink, find presenters, find sponsors, and of course, set the meeting dates (among other things). I know I’ll need quite a bit of guidance at first, but I also know I have a great team that’s here to help!
So why did I want to become a VMUG Leader? Years ago, when I first started coming to these meetings, I was just as an attendee looking to learn what I could from others. Over time, I kept seeing familiar faces and began making friends. Then in October 2017, I was finally convinced to give a community presentation about how I learned PowerCLI. That changed everything! After that talk, I wanted to:
- Get even more involved in the vCommunity
- Share even more knowledge and experiences with others
- Help others overcome fear presenting in front of others
- Help others grow and excel in their careers
- Attend other VMUGs outside of my region to learn more and meet others
- And of course, continue learning
Continue reading “I’m Officially a Pittsburgh VMUG Leader!”
Near the start of 2018, I wrote a blog post titled, “New Year, New Goals.” In that post, I listed my top four personal goals that I wanted to achieve for the year. This post is a follow-up to summarize how I did for the year. I’m not here to make excuses for why some goals weren’t met — I’m just being transparent about how I did with each of the goals I had set out to achieve at the beginning of 2018.
❌ Obtain My VCP-DCV 6.5
Welp, I definitely fell short on this one. I took a crack at this exam back in May, and for my first-ever attempt, I got a 290, however a minimum score of 300 is required to pass. I was so crushed, but knew I wasn’t going to let this get me down! I studied more, read more online documentation, and even took a series of Hands-on-Labs.
After VMWorld US had wrapped up, I gave it another shot in October. Again, I fell just short with a score of 285. I honestly don’t know how I did worse, but I did. My goal was to give it another shot before the end of the year, however I waited too long to schedule a time slot. By the time I felt ready to schedule, the remaining exam dates for December had filled up! So, it looks like I’ll have to give it another shot in 2019, and it looks like this goal will be on the list again for next year.
Continue reading “Following-Up on My 2018 Goals”
Hello again, everyone! For my fifth post for this year’s #BlogtoberTech challenge, I decided to share a script I recently wrote that seeks out virtual machines in a vSphere environment based on a specific virtual hardware version. This sort of ties in with the BIOS and UEFI scripts I wrote earlier in the year to seek out VMs that may still be open to the Spectre/Meltdown vulnerabilities (virtual hardware version 8 or older). Or perhaps someone wants to seek out VMs that may be good candidates to enable Secure Boot (virtual hardware 13 or newer with EFI boot firmware configured).
In the initial version of this script, I ask the user to pick the vCenter to connect to, the datacenter object to scan, and then the virtual hardware version to seek out. If VMs of virtual hardware n are found, the user has the option of exporting the results to a CSV file. Otherwise, a dialog box will appear (via Out-GridView) that shows the results of the can. If, however, no VMs with a specified virtual hardware version are found, it will simply let the user know that “No VMs with virtual hardware n were found.”
As usual, the latest version of this script can be found over on my GitHub page, but here’s the script as it was written at the time of this post:
Continue reading “PowerCLI: Find VMs Based on Virtual Hardware Version”
Hey everyone! I wanted to spread the word about my upcoming presentation at the Central PA VMUG on Thursday, November 1st in State College! Last year, I spoke at the Pittsburgh VMUG on the topic of PowerCLI and my journey into scripting. This year, I plan on revisiting that presentation with several new updates and maybe even do live demo (assuming I can get my home lab completely set up and configured in time)! Plus, I’m looking forward to catching up with the Central PA VMUG crew as well as meeting many others in the #vCommunity!
For those who may not know, October 2017 was my first time ever presenting at a local VMUG meeting. In fact, I wasn’t really engaged in the VMware Community all that much until about April 2017, when I started my blog and began using Twitter a lot more. Sure, I’ve been using VMware’s products and services since about 2010, but the only real ‘engagement’ I’ve done in the community was attend the occasional VMUG or UserCon.
Continue reading “My Upcoming Central PA VMUG Presentation”
Hey everyone! I wanted to take this opportunity to announce that my brand-new YouTube channel is now live! I’ve mentioned it over on Twitter, but I wanted to spread the word here on my blog, as well. Over the past several months, I’ve had this idea in my mind to start augmenting my written blog content with video content of some kind. My idea is that some people may prefer to read a post with text and screenshots, while others might prefer to watch a video and follow along.
In a previous life, I worked quite a bit with photography and video production, so why not merge that experience with the technology-related content I’ve been putting here on my blog? But, if I’m going to do this video content, I wanted to do it right with quality audio and video. After all, I do have some decent DSLR cameras and lenses that are perfectly capable of shooting video. So, I decided to stop stalling and take a crack at putting my first video together. However, I think the biggest challenge for me is that I’m used to being the one behind the camera, not the one in front of it!
Continue reading “My New YouTube Channel is now Live!”
I recently had a request come through to see if there was a way to quickly find any/all virtual machines with Independent Disks attached. In this particular scenario, I’ll be looking for these types of VMs within a specific datacenter object. However, this script could easily be changed to scan an entire vCenter object, if needed. This script will look for VMs with both independent persistent as well as independent non-persistent disks.
Like some of my other scripts, this one also utilizes the try/catch when first connecting to a vCenter Server. For instance, if you attempt to connect to a vCenter and enter the wrong credentials or wrong server name/IP, it will stop the script and state that it “Could not connect to the vCenter Server <name>. In addition, I also have some logic built in to track the progress of the scan, as well as the option to export the results to CSV if preferred.
Continue reading “PowerCLI: Find VMs with Any Independent Disks”
A few months ago, I wrote two blog posts about how to find all UEFI- or BIOS-enabled virtual machines at the data center level within a vCenter Server. But what if you just want to quickly look up the boot firmware setting of a specific VM or even just a few of them?
I wrote this script as a way to quickly look up a small number of VMs to see if they might be good candidates for enabling Secure Boot or not. If you recall from those two posts, in order to enable Secure Boot, a VM needs to have virtual hardware version 13 or higher (meaning vSphere 6.5 or higher), and the VM boot firmware needs to be set to EFI.
Continue reading “PowerCLI: Quickly Look Up VM’s Boot Firmware Setting”
I’ve been wanting to write about my first-ever VMworld experience even before the plane departed from McCarran airport, but I just couldn’t seem to find the time to actually sit down and “put my thoughts to paper” as they say. I can’t believe it’s already been a month since the conference events first kicked off in Las Vegas! The time sure does fly by! But, I at least wanted to share my experience with others who maybe haven’t been to a VMworld conference yet, or who might be going for the first time next year. (Hey, you never know!)
Continue reading “My First VMworld Experience”