It’s all about Progress: Using the PowerShell Write-Progress CmdLet

If you are like me and you like to know how your task is going in a PowerShell process, this is a great little tip for you. I’ve got a number of long running scripts that perform actions against a collection or query. The ideal thing to have for these is some kind of progress … Read more

A.K.A. – Using PowerShell Aliases

An interesting capability baked into the PowerShell environment is alias commands. Much like we can find in IOS (The Cisco one that is) and with other CLI environments, there are short commands available to save you some typing during your day-to-day scripting. Aliases can be found very easily with the Get-Alias CmdLet. The resulting output … Read more

Get-Started: ii Captain! Using the Invoke-Item CmdLet

A nifty little PowerShell CmdLet to make use of is Invoke-Item, which also has the alias ii. This CmdLet can be used against files, URLs and other documents and items to invoke the default action against them. An example where we would want to use this is where we generate some output into a file … Read more

PowerCLI – Globally setting VM Tools time sync and version upgrade options

Recently I was presented with the need to change the time synchronization and VM Tools installation options for a number of VM guest machines. While this is not challenging to do through the UI, I’m a big fan of doing everything possible through PowerCLI. And if you have larger numbers of machines in your VMware … Read more