VMware’s PowerCLI

I started learning PowerShell recently and I also discovered PowerCLI nearly at the same moment.

That’s something I was looking for for a long time. I do not like point-and-click adventures like VMware’s web UI. Now I have CLI!

My one-liner for Get-VMCommand:

function gvmc([string]$What, $Verb="*") { Get-Command -Verb $verb -Noun "*$what*" -Module VMware.* }

PowerCLI is powerful and CLI, yes, it is… But somethings too extensive. My super-duper-simple-function allows me to find the right cmdlet faster using this command:

gvmc [-What] Adapter [[-Verb] Get]

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *