gibbo_ap Posted February 5, 2010 Posted February 5, 2010 we currently have specops gpudate installed (wonderful tool) & i have been using it to boot up stations remotly when installing packages, and this works a treat! what i want to do tho is every (week) day to boot up all stations in the school at 730/800. this would save the problems of teachers getting to an IT lesson and having to wait for the stations to all boot then login - only a few mins difference but it would help (my ears if nothing else) gpudate displays a powershell comandline which i guess you can use some how to schedule - but i dont know how....yet
enjay Posted February 5, 2010 Posted February 5, 2010 We're using a wake-on-lan program - mc-wol.exe is the executable, can't remember what its actual name is though, sorry. We have batch files set up as scheduled tasks to boot the computers at appropriate times (staff at 7:30am, classroom at 8am) on weekdays, and I suspend the tasks over the holidays. Works a treat.
pagelad Posted February 8, 2010 Posted February 8, 2010 All the Dells we have are configurable to boot up automatically at a set time. All the workstations boot up weekdays at 8:30. You just have to remember to switch them off at the wall in school holidays!
sonofsanta Posted February 8, 2010 Posted February 8, 2010 We have specops installed here as well, and agreed, it is a fantastically useful tool for lots of things. The previous network manager setup some Powershell scripts using SpecOps to wake the computers up every morning and shut them down at night, as well as a restart one for Saturdays (to help with updates) - I can pass these scripts along to you if you like, all that needs editing is the OU path and then you can set it up as a scheduled task on your DC. 1
p858snake Posted February 8, 2010 Posted February 8, 2010 All the Dells we have are configurable to boot up automatically at a set time. All the workstations boot up weekdays at 8:30. You just have to remember to switch them off at the wall in school holidays! What about using OpenManage or whatever they call their tool so you can mass manage the BIOS'es on your workstations centrally from your server (since you mentioned the running of dells)
Gonk Posted February 8, 2010 Posted February 8, 2010 We have specops installed here as well, and agreed, it is a fantastically useful tool for lots of things. The previous network manager setup some Powershell scripts using SpecOps to wake the computers up every morning and shut them down at night, as well as a restart one for Saturdays (to help with updates) - I can pass these scripts along to you if you like, all that needs editing is the OU path and then you can set it up as a scheduled task on your DC. ooo.... can I be cheeky and as for a copy of thos scripts? Cheers Ross
sonofsanta Posted February 8, 2010 Posted February 8, 2010 ooo.... can I be cheeky and as for a copy of thos scripts? Cheers Ross Emailed!
sonofsanta Posted February 8, 2010 Posted February 8, 2010 Can I get a copy of them too? Decided it's gonna be easiest just to stick it all up here! Attachments are renamed to .txt, rename them back to be .ps1 files. As far as modifying them goes, look for the line (near the top) $successful += Get-SpecopsADComputer -dn:'OU=English Block,OU=Locations,OU=Computers,OU=KGGS School,DC=KGGS,DC=internal' -Recurse | and just edit the long string of OU’s to reflect your own AD structure. The recurse flag (iirc) means it will go into OU’s below the level you specify if you want to target all the machines in your school at once; we’ve got 9 of these covering different departments so we can stagger the startups and shutdowns and prevent a spike in electricity tripping the switchboard. Our primary domain controller then just runs the scripts as a scheduled task (Run C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe "D:\ADScripts\StartupEnglish.ps1", Start In C:\WINDOWS\system32\WindowsPowerShell\v1.0 and running with the network admin account) and every time we get to a major holiday (e.g. Xmas) I just edit the startup script to run from the first day back, to stop them firing up. Hope that helps some people! Feel free to ask for more info below and I'll do what I can - as I hinted at before though, I inherited these scripts so you could probably learn as much as me with a bit of jiggerypokery. Looking at them, as well, I don't think you need SpecOps to run them - just Powershell.StartupEnglish.txtShutdownEnglish.txtRestartEnglish.txt 1
gibbo_ap Posted February 8, 2010 Author Posted February 8, 2010 We have specops installed here as well, and agreed, it is a fantastically useful tool for lots of things. The previous network manager setup some Powershell scripts using SpecOps to wake the computers up every morning and shut them down at night, as well as a restart one for Saturdays (to help with updates) - I can pass these scripts along to you if you like, all that needs editing is the OU path and then you can set it up as a scheduled task on your DC. that would be really great if you could!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now