How to Determine a Computer’s AD Site from the Command Line

The following command will show you which Active Directory site the remote computer is a member of:

nltest /server: /dsgetsite

I always seem to forget this command.  :)