VBS Script for map drives
Hi All,
I need a vbs script that I can use to get all map drives on all my devices. I will then use custom inventory rules to pull a report on the outcome of the vbs script.
I have searched Google but do not get want I need. Can someone please a assist me with such a vbs script?
thx,
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago
I talked about this in my Lessions from the Field session at Dell World this year.
http://www.itninja.com/blog/view/create-cirs-to-show-current-users-mapped-drives-and-networled-printers-presented-at-dell-world-user-forum-2014-lessions-from-the-field
http://www.itninja.com/blog/view/create-cirs-to-show-current-users-mapped-drives-and-networled-printers-presented-at-dell-world-user-forum-2014-lessions-from-the-field
Comments:
-
I just implemented this idea this week and it works perfectly. - jfrank 10 years ago
Posted by:
Nico_K
10 years ago
Posted by:
Mariusja
10 years ago
Hi Nico,
I have lost you completely. If I use this inventory rule I how will I get the desire outcome on a report? If I use this inventory rule I don't even have this field under custom inventory rules to report on it.
When I use this rule ShellCommandTextReturn(cscript.exe c:\scripts\ipconfig.vbs) I do get this field under custom inventory rule to report on but the info returned from the inventory rule is incorrect because my vbc script is not correct.
thx,
Marius
Comments:
-
it is not your script. CIR;s run as system and you need to run the script as current user - SMal.tmcc 10 years ago