Run Now script - Shutdown - Powering off Windows Server 2008 VM's
I have a script that essentially does a prompt asking the user if they want to power off their machine. If they don't do anything, it will auto-power off after 5 minutes. A simple batch file - nothing fancy. We use this for winter breaks, holiday weeks, etc., since we have over 4,000 desktops in our environment and we want to save power.
However, today I noticed all of my VM servers with the KACE agent on them were down. They are Server 2003 and Server 2008 R2 VM's. The script is only set to deploy to select OS - XP, Windows 7. Server isn't selected on them, yet they went down. It shows them under the "successful", so it pushed the script out to them when it shouldn't have.
KACE shows the OS correctly. Any ideas?
OS Name: | Microsoft Windows Server 2008 R2 Standard x64 |
Answers (1)
Is your script checking the OS, or do you have smart labels checking it?
Comments:
-
I told it to deploy to labels - which are basically subnets (10.17.X.X is a label, say "Franklin School). I tell it to deploy to Franklin School, which is any machine on 10.17.X.X IP scheme. However, the script is supposed to only run on XP SP3, Windows 7 Pro x86, and Windows 7 Pro x64. But it seems to have run on the Windows Server VM's as well.
Am I doing this wrong? I thought that regardless of what label I deploy it to, the script should follow the OS restrictions. - sfigg 11 years ago-
I would think that would work, but never tested it. I have smart labels for my servers to avoid something like that. Sorry I couldn't be more help. - dugullett 11 years ago