G
Guest
We are replicating our file server to a second machine. This is working very
good for us as part of our backup strategy.
However, our current login script maps drivers to server1, or primary
server, only. We have struggled in writing a smart login script that will
map drives according to the following logic:
if (server1 is on-line) {
map drive \\server1\share E:
}
else if (server2 is on-line) {
{
map drive \\server2\share E:
}
else
{
Report Error
}
Ultimately we'd like this script to map printers in the same way if possible.
Any help is appreciated.
good for us as part of our backup strategy.
However, our current login script maps drivers to server1, or primary
server, only. We have struggled in writing a smart login script that will
map drives according to the following logic:
if (server1 is on-line) {
map drive \\server1\share E:
}
else if (server2 is on-line) {
{
map drive \\server2\share E:
}
else
{
Report Error
}
Ultimately we'd like this script to map printers in the same way if possible.
Any help is appreciated.