"Just a blog for bits and pieces of Messaging, Mobility, Collaboration and IT Virtualization Technologies"

Saturday, August 11, 2007

A method to find IS Maintenance calculation from ADSIEDIT?

How to find the IS Maintenance calculation from ADSIEDIT?

In Exchange 2003, by default, it will be in the form of Hexadecimal, decimal, octet and binary. The hexadecimal output looks like this:

00 07 ff ff f0 00 00 00 00 00 00 00
00 07 ff f0 00 00 00 00 00 00 00 00
00 07 ff f0 00 00 00 00 00 00 00 00
00 07 ff f0 00 00 00 00 00 00 00 00
00 07 ff f0 00 00 00 00 00 00 00 00
00 07 ff f0 00 00 00 00 00 00 00 00
00 07 ff ff f0 00 00 00 00 00 00 00

NOTE: The I have formatted the schedule above so every row represents a day of week. The first row is Sunday, followed by Monday and so forth and the last row is Saturday. Each row contains 12 entries of 2 numbers each. Every single number in the sequence represents one hour. Therefore, every row represents a 24 hour period.

The schedule above is in GMT time zone, and you can read it this way:

Since the data is a bit stream, you can represent it as this sequence: 0 0 0 7 f f f f f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0. Every number in the sequence represents an hour. So in this example, for first three hours the maintenance is off. Now, 0x7 is 0111 in bit representation, that means that 3:00am is off, 3:15am, 3:30am and 3:45am are on. 0xF is 1111, so that means entire hour is on. Again, in this example, we get that 8am is on, 9am is off. So, we get that the schedule is 3:15am - 9am GMT. The data is in GMT time zone, so we have to convert it into local time zone.

0 comments:

For your notice:

The information in this blog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. Thank you, Happy Reading!

Whatz new ?

My Profile

View Lijin Lakshmanan's profile on LinkedIn

My Facebook

Lijin Lakshmanan's Facebook profile

Please Correct Me

Whatz happening...?

Loading...

Who is reading?