AD login script snippets

These are a few VBScript functions and subprocedures that I've used in login scripts, their descriptions and what's needed to use them.

GetUserObject()
DeleteNetworkDrives()
MapADDrive()
MapNTDrive()
IfMember()
DistributeFile()