PowerCLI – Enabling or Disabling VAAI in a vSphere Cluster

There are limited cases where you would need to do this, but since I’m a huge proponent for scripting anything I do, here is a programmatic (and quick) way to enable or disable VAAI functionality for your vSphere clusters. Why Disable VAAI? The first thing you are asking of course, is why on earth would … Read more

Finding RDP sessions on servers using PowerShell

Have you ever needed to use RDP to get to a server console for some local admin work and then been bounced out because there are already active sessions? Or have you had your Active Directory account locked out because of an open RDP session with the old password sending locks to the domain?  Wouldn’t … Read more

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

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.