shutdown -i all computers in active directory domain

Posted by Sihan Zheng on Server Fault See other posts from Server Fault or by Sihan Zheng
Published on 2012-12-06T03:47:08Z Indexed on 2012/12/06 5:06 UTC
Read the original article Hit count: 405

I'm not sure if this is possible, but this is my goal:

At the end of the day, I want to be able to turn off all the computers in the domain from a client. My account has sufficient privileges to shutdown any single computer remotely using shutdown -I, and I can RDP into any computer in the domain.

However, is there an automated technique that does this? the computers in the domain are predictably named (computer1, computer2, etc), but than manipulating a list of 2000 computers in shutdown -I is pretty clumsy.

Is there a way to shutdown every single computer in the domain from a single client? The domain server is windows 2003, and the clients all run windows xp

thanks

© Server Fault or respective owner

Related posts about windows-server-2003

Related posts about active-directory