Ozwazza
asked on
WIndows Scripts for network resources
Hi, I have a single active directory network encompassing 9 sites all with different IP ranges from 192.168.100.x to 192.168.180.x. At each location there are printers and shared folders, several staff roam to the different offices frequently. I would like to get a script that will detect where it is based on the IP range and then map the appropriate printers and shared folders accordingly to standardized drive letters.
Look forward to hearing from you gurus soon.
Cheers
Warren
Look forward to hearing from you gurus soon.
Cheers
Warren
ASKER
Can you add a bit more to the 'Do something, I would like to map printers and drives
Regards
Warren
Regards
Warren
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Had to rework the script to include full domain name in the printer setup, also included the RemoveNetworkDrive setting otherwise would get errors if trying to remap a drive at another location
(website offline as of posting)
suggests to check the default gateway and then base the mapping from that
code is provided
Open in new window