|
good day to all
I have just recently started using kixtart in our organization and i'm am having a problem that is fustrating me to no end. All i'm looking to do is map user/group specific drives based on group membership, i have read through the manual, read what i could dig up on this forum and talk to friends who know more about scripting than I. Yet for some reason i can't seem to get the script to work. I will post below for everyone to check out and hopefully give me an idea of what i'm doing wrong. TIA
-----------------------------------------------
;Maps User Specific Drive
Use U: @HOMESHR
;This Section Used Map Group Specific Drives
;Administration If InGroup ("Administration") = 0 Use z: \\binkley\Administration$ EndIf ;Adult Basic Learning Education If InGroup("ABLE") = 0 Use z: \\binkley\ABLE$ EndIf ;Athletic Health Care If InGroup("AHC") = 0 Use x: \\binkley\AHC$ EndIf ;Business Career Technology If InGroup("BCT") = 0 Use r: \\binkley\bct$ EndIf ;Career Based Transitions If InGroup("CBT") = 0 Use w: \\binkley\CBT$ EndIf ;Cisco Networking Academy If InGroup("Cisco") = 0 Use k: \\binkley\cisco$ EndIf ;Colonel If InGroup("colonel") = 0 Use v: \\binkley\colonel$ EndIf ;Computer Aided Design If InGroup("CAD") = 0 Use j: \\binkley\CAD$ EndIf ;Computer Software Applications If InGroup("CSA") = 0 Use v: \\binkley\CSA$ EndIf ;Cooperative Business Education If InGroup("CBE") = 0 Use z: \\binkley\CBE$ EndIf ;Cosmetology If InGroup("Cosmetology") = 0 Use k: \\binkley\cosmetology$ EndIf ;Desktop Publishing If InGroup("DP") = 0 Use l: \\binkley\DP$ EndIf ;Electronics If InGroup("Electronics") = 0 Use n: \\binkley\electronics$ EndIf ;English If InGroup("English") = 0 Use o: \\binkley\English$ EndIf ;Foreign Language If InGroup("FL") = 0 Use p: \\binkley\FL$ EndIf ;Future Directions If InGroup("FD") = 0 Use q: \\binkley\FD$ EndIf ;Guidance If InGroup("Guidance") = 0 Use j: \\binkley\Guidance$ EndIf ;Health Career Technologies If InGroup("HCT") = 0 Use r: \\binkley\HCT$ EndIf ;Math If InGroup("Math") = 0 Use v: \\binkley\Math$ EndIf ;Multimedia If InGroup("multimedia") = 0 Use m: \\milo\multimedia$ EndIf ;Remodeling & Construction If InGroup("RC") = 0 Use r: \\binkley\RC$ EndIf ;Science If InGroup("science") = 0 Use w: \\binkley\science$ EndIf ;Secretaries If InGroup("secretary") = 0 Use s: \\binkley\secretary$ EndIf ;Social Studies If InGroup("SS") = 0 Use x: \\binkley\SS$ EndIf ;Students (Generic Student User) If InGroup("students") = 0 Use s: \\Binkley\student$ EndIf ;Teacher(Generic Teacher User) If InGroup("teacher") = 0 Use t: \\Binkley\Teacher$ EndIf ;Topics In Science If InGroup("TIS") = 0 Use z: \\binkley\TIS$ EndIf ;Transportation If InGroup("Transportation") = 0 Use t: \\binkley\transportaion$ Use y: \\binkley\Users$ Use z: \\binkley\elt$ EndIf ;Urban Forestry If InGroup("UF") = 0 Use v: \\binkley\UF$ EndIf ;Yearbook If InGroup("Yearbook") = 0 Use y: \\milo\yearbook$ EndIf Exit
------------------------------------------ Again thanks in advance for any help the you guys can offer
|