Category: Tip

Get AD site name on Locked Down XP System

Everyone on the web seemed to point to

Found myself on a locked down XP system needing to get this programmatically and came up with the below

Not fast but it works reliably to date

PowerShell Get AD Password Age

Wanted to be able confirm that a user had really changed their Active Directory password when they claimed they had, Powershell was easy enough, but took me a bit to find it

or if you just want all the properties of the user, drop the pipe to filter

VTP Cisco Nexus 5020

There’s alot of talk about the Nexus OS not supporting VTP and where it does its only on the 7K series ant it only supports transparent mode. This is a bit out of date.

Once little thing i found after a moderate ammount of digging it is fully supported in the 5.x series of NX-OS, Namely Cisco NX-OS Release 5.0(2)N2(1)

Version Info

All modes supported

Generic Config

Hidden VMWare ESXi Console!

This little hack allows you to run commands directly at the server itself and is very handy for doing things like enabling SSH in inetd.conf. First thing first. This only works on the fee based version not the free one and you must be sitting at the server and not RCLI.

  • Step One: At the server console type ALT-F1
  • Step Two: Now you’ll just see basically a console log with no prompt. Don’t sweat it! Just type: unsupported and hit enter. This does not echo back so you will not see your input.
  • Step Three: Now a big scary tech support warning will pop up. Just laugh it off and enter your server password at the prompt.

And you’re in! I really just do this to enable SSH but I have also used this to edit etc/hosts to rule out DNS issues.

From NetworkWorld