Over 10 years of automating daily routine tasks, quite a few short scripts have been collected to perform various tasks with Active Directory, Cisco UCS, NetApp, VMWare vSphere/vCenter, etc. And I also found an interesting video on Channel9 about combining commands into one line. And here's my PowerShell one-liner cheat sheet: Get PowerShell version: Get-Host | Select Version Get your public IP address: (Invoke-RestMethod ipinfo.io/json).ip Get Windows uptime (-Since parameter will show you last boot...Read more
DevOps portfolio, services and blog posts
If you are interested in projects I've done before, then just check...
If you are interested in how I can help you to save money on cloud infrastructure, then just check...
In this article, I will show you how to upgrade Ubuntu to 21.04 (latest) or 20.04 (LTS). As a bonus, we will also update the kernel to the latest release-candidate 5.15-rc2 or latest stable 5.14.7. The latest greatest Ubuntu Hirsute 21.04 contains the following improvements: WireGuard Support New processor cooling driver USB4 support Amazon Echo Support Improved hardware support VirtualBox Folder Sharing F2FS data compression using LZO/LZ4 And here is a short list of what's...Read more
The idea of launching PowerCLI with the necessary modules in the Docker container has long been brewing, and finally I have taken up this issue. One of the reasons was that PowerShell “broke down” on my Windows 10 machine, or rather, it works, but the Get-Credential command returns an error. The second reason is simply the desire to experiment on the topic. It turned out the truth is not so simple, details below. To run...Read more
In this article, I will show you how to create a custom esxi image with PowerShell You will need 30 minutes to follow these steps: Go to VMWare downloads and download your vendor-specific image Swtich to Drivers tab and download required/additional/updated drivers if needed Go to VMWare patches and download latest ESXi build Go to your server's vendor drivers download page, in my case Cisco drivers and download latest drivers for your ESXi version Go...Read more
In this article, I will show you how to encrypt existing EBS volume using AWS web portal or PowerShell. You will need 1 hour(depends on your volume size) to follow these steps: Go to https://console.aws.amazon.com/ec2 and navigate to instances Stop instance which volume you want to encrypt Expand the bottom pane and switch to the «Storage» tab, so you see a link to the instance's volume at the bottom of the page Click on it...Read more