PowerShell blog posts

How to create custom ESXi image

How to create custom ESXi image

Sypalo.com

How to create custom ESXi image | DevOps

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...

Tags: scripts automation powershell vmware esxi

Read more
How to run PowerShell in Docker with custom modules

How to run PowerShell in Docker with custom modules

Sypalo.com

How to run PowerShell in Docker with custom modules | DevOps

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...

Tags: cloud virtualization containers docker powershell

Read more
PowerShell one-liners cheat sheet

PowerShell one-liners cheat sheet

Sypalo.com

PowerShell one-liners cheat sheet | DevOps

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...

Tags: scripts automation powershell

Read more