VMware and PowerShell
I’m from the pre-WIMP era, like in pre Windows, Icons, Mouse, Pointers. There wasn’t anything like a graphical user interface. Even when they emerged like Norton Commander and PC Tools I still did most of my work from the commandline. Stuff like 4DOS enriched my life so I could get the most out of the commandline.
I still try to do most of my stuff from commandline. I’m very happy that companies like Microsoft see that there are more people that want to do their stuff from that commandline. Hence PowerShell. PowerShell can do some great tricks like doing an action on all servers in your infrastructure with one line of code.
With the VI Toolkit (for Windows) you can manage your virtual infrastructure with PowerShell
The VI PowerShell blog has got a lot of very interesting scripts for you to use. From a script that gives you the size of snapshots to a complete documenting script.
You can find the blog here:
The PowerShell Code Repository also has some interesting scripts at http://poshcode.org/?lang=posh&q=vmware
Eric Sloof also has some interesting PowerShell scripts on his site at http://www.ntpro.nl/blog/categories/10-VMware-PowerShell
If you know more sites with PowerShell scripts for VMware please let me know.
- PowerShell Friday: Load PowerCLI from your own script by Anne Jan Elsinga
- Veeam PowerShell: Get Backup Job Storage Size by Martijn Smit
- VMware Fling – PowerActions for vSphere Web Client by Erik Scholten
- PowerShell Friday: Getting Started with PowerShell and… by Anne Jan Elsinga
- PowerShell Friday: Using the Cisco ACI API by Martijn Smit
Anne Jan Elsinga
Anne Jan Elsinga is a Technical Account Manager for VMware. In the past he worked as presales and technical consultancy and architecture for several systems integrators. From 2009 until 2017 he was awarded with the VMware vExpert status. In the night time he dances latin, ballroom and salsa and he also discovered the pleasure of diving and woodworking. Recently he started blogging about smart homes and comfort in general.