Bryon H
asked on
remotely eject a list of cd drives
hi there
i find that sometimes i have to have a datacenter employee go reboot a server... and he can't tell which one i want.
i'd like to be able to run a batch file from the domain controller, to eject all the cd drives of a list of servers except whichever one i comment out
i can address the servers by netbios name, like, \\server01
what's the easiest way to get them all ejected?
yes i could just go there and put stickers on them, but that would be too - analog... i would like a more digital solution than something as archaic as paper stickers :)
i find that sometimes i have to have a datacenter employee go reboot a server... and he can't tell which one i want.
i'd like to be able to run a batch file from the domain controller, to eject all the cd drives of a list of servers except whichever one i comment out
i can address the servers by netbios name, like, \\server01
what's the easiest way to get them all ejected?
yes i could just go there and put stickers on them, but that would be too - analog... i would like a more digital solution than something as archaic as paper stickers :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dear bryon44035v3,
just come to think of it - you obviously when want to do the above must consider:
1. What if a server is using the CD drive when I want to (from remote) open it's CD drive?
2. Is there free space to open the CD drive of all servers (e.g. if a server is in a rack and the front door is closed)?
I'd recommend the "analog" solution anytime/anyway - label each server.
Kind regards,
Soren
just come to think of it - you obviously when want to do the above must consider:
1. What if a server is using the CD drive when I want to (from remote) open it's CD drive?
2. Is there free space to open the CD drive of all servers (e.g. if a server is in a rack and the front door is closed)?
I'd recommend the "analog" solution anytime/anyway - label each server.
Kind regards,
Soren
Dear bryon44035v3,
yes to your question about psexec.
Kind regards,
Soren
yes to your question about psexec.
Kind regards,
Soren
ASKER
i wonder if i stick the vbs file in a shared folder, can i psexec the other machines to execute it?
ASKER
the servers are all 1u in size, and as such have the mini cd tray like laptops, so they only eject about an inch
one of these days i'll make the drive out there to label them - one last adjustment to the question:
what's the psexec format to call a list of netbios names without waiting for each one to finish (something about @list and /d)
one of these days i'll make the drive out there to label them - one last adjustment to the question:
what's the psexec format to call a list of netbios names without waiting for each one to finish (something about @list and /d)
ASKER
this is perfect, thanks
Yes you can use the @file, or eventually psexec [\\computer[,computer2[,.. .]
The "-d" moves forward without awaiting returncode.
The "-d" moves forward without awaiting returncode.
ASKER
psexec \\server c:\file.vbs
?