Virtually Potato
open-menu closeme
vPotato
K8s on vSphere
vRA 8
Projects
Scripts
Tips
Connect icon
CounterSocial GitHub Polywork Session XMPP
github rss
  • Download Web Folder Contents with Powershell (wget -r replacement)

    calendar Apr 19, 2022 · 1 min read · powershell windows  ·
    Share on: twitter facebook linkedin copy

    We've been working lately to use HashiCorp Packer to standardize and automate our VM template builds, and we found a need to pull in all of the contents of a specific directory on an internal web server. This would be pretty simple for Linux systems using wget -r, but we needed to find another solution for our Windows …


    Read More
  • Bulk Import vSphere dvPortGroups to phpIPAM

    calendar Feb 4, 2022 · 15 min read · vmware powercli python api phpipam  ·
    Share on: twitter facebook linkedin copy
    Bulk Import vSphere dvPortGroups to phpIPAM

    I recently wrote about getting started with VMware's Tanzu Community Edition and deploying phpIPAM as my first real-world Kubernetes workload. Well I've spent much of my time since then working on a script which would help to populate my phpIPAM instance with a list of networks to monitor. Planning and Exporting The …


    Read More
  • Using PowerCLI to list Linux VMs and Datacenter Locations

    calendar Jan 13, 2022 · 2 min read · vmware powercli powershell  ·
    Share on: twitter facebook linkedin copy
    Using PowerCLI to list Linux VMs and Datacenter Locations

    I recently needed to export a list of all the Linux VMs in a rather large vSphere environment spanning multiple vCenters (and the entire globe), and I wanted to include information about which virtual datacenter each VM lived in to make it easier to map VMs to their physical location. I've got a Connect-vCenters …


    Read More
  • Script to Convert Posts to Hugo Page Bundles

    calendar Dec 21, 2021 · 5 min read · hugo meta shell  ·
    Share on: twitter facebook linkedin copy
    Script to Convert Posts to Hugo Page Bundles

    In case you missed the news, I recently migrated this blog from a site built with Jekyll to one built with Hugo. One of Hugo's cool features is the concept of Page Bundles, which bundle a page's resources together in one place instead of scattering them all over the place. Let me illustrate this real quick-like. …


    Read More
  • Script to update image embed links in Markdown files

    calendar Jul 19, 2021 · 2 min read · linux shell regex jekyll meta  ·
    Share on: twitter facebook linkedin copy

    I'm preparing to migrate this blog thingy from Hashnode (which has been great!) to a GitHub Pages site with Jekyll so that I can write posts locally and then just do a git push to publish them - and get some more practice using git in the process. Of course, I've written some admittedly-great content here and I don't …


    Read More
  • Automatic unattended expansion of Linux root LVM volume to fill disk

    calendar Apr 29, 2021 · 5 min read · linux shell automation  ·
    Share on: twitter facebook linkedin copy
    Automatic unattended expansion of Linux root LVM volume to fill disk

    While working on my vRealize Automation 8 project, I wanted to let users specify how large a VM's system drive should be and have vRA apply that without any further user intervention. For instance, if the template has a 60GB C: drive and the user specifies that they want it to be 80GB, vRA will embiggen the new VM's …


    Read More
  • Using PowerShell and a Scheduled Task to apply Windows Updates

    calendar Apr 29, 2021 · 3 min read · windows powershell  ·
    Share on: twitter facebook linkedin copy

    In the same vein as my script to automagically resize a Linux LVM volume to use up free space on a disk, I wanted a way to automatically apply Windows updates for servers deployed by my vRealize Automation environment. I'm only really concerned with Windows Server 2019, which includes the built-in Windows Update …


    Read More
  • Logging in to Multiple vCenter Servers at Once with PowerCLI

    calendar Sep 16, 2020 · 2 min read · vmware powercli  ·
    Share on: twitter facebook linkedin copy
    Logging in to Multiple vCenter Servers at Once with PowerCLI

    I manage a large VMware environment spanning several individual vCenters, and I often need to run PowerCLI queries across the entire environment. I waste valuable seconds running Connect-ViServer and logging in for each and every vCenter I need to talk to. Wouldn't it be great if I could just log into all of them at …


    Read More

John Bowdre photo

John Bowdre

Wrangler of imaginary computers.
VMware vExpert
Read More

Featured Posts

  • VMware Tanzu Community Edition Kubernetes Platform in a Homelab
  • Secure Networking Made Simple with Tailscale
  • Burn an ISO to USB with the Chromebook Recovery Utility
  • Setting up Linux on a new Lenovo Chromebook Duet (bonus arm64 complications!)

Recent Posts

  • Tailscale on VMware Photon OS
  • K8s on vSphere: Building a Kubernetes Node Template With Packer
  • Upgrading a Standalone vSphere Host With esxcli
  • Using the vSphere Diagnostic Tool Fling
  • Removing and Recreating vCLS VMs
  • Gitea: Ultralight Self-Hosted Git Server

Series

VRA8 14 TIPS 13 PROJECTS 12 SCRIPTS 8 K8S-ON-VSPHERE 3

Tags

VMWARE 30 LINUX 18 VRA 14 CONTAINERS 9 AUTOMATION 8 DOCKER 8 CLOUD 7 HOMELAB 7 JAVASCRIPT 7 SHELL 7
All Tags
3DPRINTING1 ABX2 ACTIVEDIRECTORY2 ANDROID2 API2 AUTOMATION8 AVAILABILITY1 CERTS2 CHAT2 CHROME1 CHROMEOS6 CLOUD7 CLUSTER2 CONTAINERS9 CROSTINI3 DOCKER8 GCP3 HOMEASSISTANT1 HOMELAB7 HUGO2 INFRASTRUCTURE-AS-CODE1 JAVASCRIPT7 JEKYLL3 KUBERNETES6 LCM2 LINUX18 LOGS2 META5 NETWORKING6 NSX1 OPENSSL1 PACKER1 PHOTON1 PHPIPAM1 POWERCLI3 POWERSHELL6 PYTHON3 REGEX2 REST2 SALT1 SECURITY6 SERVERLESS1 SHELL7 TAILSCALE3 TANZU5 TASKER3 VMWARE30 VPN5 VRA14 VRO7 VSPHERE3 WINDOWS5 WIREGUARD3 WSL2
[A~Z][0~9]
Virtually Potato

Copyright 2018-  Virtually Potato. All Rights Reserved.
Powered by Hugo, Hugo Clarity theme, and Netlify. Privacy-friendly analytics with Cabin.
View source.

to-top