Automatically retrieve list of offline shares on all PCs of a domain

Tue 14 May 2013

I wrote this short VBS script today to help out a client; basically, you can run this on an Active Directory domain as a login script to see if your users' offline shares are correctly configured. In this case, each user is supposed to have a 'U:' drive that syncs with a file server whenever they're on campus, and is available whenever they're on the road. Sometimes, though, the configuration isn't set for one reason or another... Hence the script.

Enjoy :)