Already a member?
Sign in
Daylight savings date check
I have written a script which checks the DST start date and records the machine name and DST results in a text file. The script obtains the data by querying the WMI service and so it is not dependant on any specific registry setting or the existence of a specific service pack/hotfix etc.
There are a few caveats which need to be adhered to for this to work:
As a result of the caveats, the following server types will need to be checked through some other method:
Daylight Day of Week – The day of the week on which the change occurs (Zero being Sunday)
Daylight Month – Which month of the year
There are a few caveats which need to be adhered to for this to work:
- The script must be activated from an account with appropriate rights to query the remote machine
- DNS records must be correct for each remote machine
- The remote machine must be running a Microsoft based OS (NT4/windows 2000 and above)
As a result of the caveats, the following server types will need to be checked through some other method:
- Linux/Unix machines
- Non-domain servers (DMZ for eg)
- Any machines that were shutdown/powered off at the time thescriptis run ( like virtual machines etc)
Daylight Day of Week – The day of the week on which the change occurs (Zero being Sunday)
Daylight Month – Which month of the year
Rename the output file to .csv and open her up in Excel to view.
I know this is not exactly related to Openmanage, but no harm in spreading the love around right??
Thanks,
Stuart.
|
Stooartbaby |
Latest page update: made by Stooartbaby
, Sep 30 2008, 10:59 PM EDT
(about this update
About This Update
1 word added 1 word deleted view changes - complete history) |
|
Keyword tags:
Daylight savings date
DST
Microsoft
More Info: links to this page
|
| Started By | Thread Subject | Replies | Last Post | |
|---|---|---|---|---|
| scott_hanson | Awesome work Stuart ! | 0 | Oct 2 2008, 4:51 PM EDT by scott_hanson | |
|
Thread started: Oct 2 2008, 4:51 PM EDT
Watch
Just stumbled across this. Thanks for adding it. Hadn't seen you on the chats in awhile, wondered if your life is completely upside down yet :-)
|
||||
|
|
servers.txt (Text File - 0k)
posted by Stooartbaby Sep 30 2008, 10:51 PM EDT
Input file format
|
|
|
|
DST_Check_Final_with_Name.vbs (Unknown File - 1k)
posted by Stooartbaby Sep 30 2008, 10:50 PM EDT
DST check script
|

