Updating (same as parent folder) records with DNSCMD and PowerShell

In an earlier post on the site (Microsoft DNS record updates using PowerShell and DNSCMD) I noted how PowerShell cannot natively update records in MS DNS, however we could leverage the DNSCMD command and pass parameters using a simple PowerShell script. A couple of comments came in regarding the records which are in DNS listed … Read more

PowerCLI – Add Multiple VLAN Port Groups to vSphere Cluster Standard vSwitches

A recent change to my networking environment added the requirement to put different VM guests onto different VLANs according to their role. This is a fairly common configuration for a lot of virtualized datacenters. What is also common is that we don’t have the design fully prepared when we build our virtual infrastructure. Limitations of … Read more

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