I want to update unmanage time period for many servers with a value which is there in a particular custom property. Want to do it in a regular manner. (once a day). Is there any way to automate it. We have a job scheduler. But it can run only script. Will it be possible to write a windows script to run the below query in database? UPDATE Nodes SET UnManageUntil = Disable_until, UnManageFrom = Disable_from WHERE getdate() > UnmanageUntil AND Tower='Windows' AND UnmanageUntil < Disable_until AND disable_from > getdate() My knowledge on windows scripting is less. Any help will be appreciated.