![]() Set objEnv = objShell.Environment("Process") Set objShell = CreateObject("WScript.shell") We're running an exercise to discover all user's mapped drives at the moment, and are running a script like this in each user's context to get that info and dump down to a network share where we can grab the files and parse them with another script later: scriptVersion = "1.0" That obviously only lists them for the current logged on user on the machine that it's run on. Wscript.Echo colDrives.Item(i)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |