I wrote a while back about the Exchange System Manager, and while it was useful, it turns out that access rights to mailboxes are defined in the msExchMailboxSecurityDescriptor attribute in the AD. The problem is, rather than listing usernames, it lists ObjectIDs.
I’ve found a nifty way of pulling them out though:
DistinguishedName = “DN of Object”
set ObjUser = GetObject(“LDAP://” & DistinguishedName)
Set objsd = objUser.Get(“msExchMailboxSecurityDescriptor”)
Set dacl = objsd.DiscretionaryAcl
For Each ace In dacl
I’ve put this together in a script to report the access rights for lists of mail accounts. It’s one of those things I’ve been thinking about for a while, but finally got the chance to put it all together today.
I’ve been reading How Would you Move Mount Fiji, not because I want to work at Microsoft or have any job interviews coming up, but just because I find it quite interesting, and like the puzzles there.
I find the concept behind puzzle questions quite interesting. On one level, of course, they’re stupid. A lot of them depend on whether you’ve heard them before. They’re so hard, and you’re asked so few of them that your responses aren’t representative of your intelligence.
Of course, intelligence and “IQ” are difficult concepts. I don’t think your IQ really tells you much – beyond saying, “this is a clever person” or “this is a stupid person”. And you can probably tell that from talking to them. It’s not really clear what intelligence is either.
However, there are some things to be learnt from puzzles, such as challenging assumptions, ways of thinking and putting in effort. And really, these are skills that you need in your every day life.
I had to go home this weekend to fix my parents computer. (First line technical support you see). As it turned out the graphics card had blown.
I’m always a bit more nervous of hardware but I took it out and used the onboard graphics card until I can get a new one. I had a real faff finding the drivers and sorting it all and it reminded me again how difficult computers are. They really are. They’re basically too difficult for humans to use.
Simplicity and ease of use is really something to strive for above all else.
I’m reading a book about the puzzle questions they ask in Microsoft interviews.
Interestingly one of the ways of tackling them and of solving problems is by “thinking past” unknowns and working through the possibilities. It’s a good tip I think.
I’ve struggled in the past with having hta files or documents that update in real time.
The way to do it is using the setTimeOut function.
id = setTimeout(“RunFunction()”,1000)
This runs “RunFunction()” every second, so if you nest this you can make something keep updating.
I had to build a little app today for a ridiculous waste of time… I mean, a business fair that we’re hosting. Let’s not go into the details.
It works fine, but when displayed fullscreen (pressing F11 in Internet Explorer – which I had to use because of the VBscript), there’s a pesky vertical scroll bar.
It turns out you can get rid of that with one simple line of code:
One to remember.
Courtesy of Raymond.cc I discovered the Windows 7 Reliability Monitor today.
It’s a really great program and makes spotting problems so easy: