Deleting empty folders in Outlook Mar 30, 2009 A friend of mine called me, and asked me for help… He had had a migration go wrong and had ended up with a bunch of .pst files containing 1000’s of emtpy folders. ...
Get-Mailboxinfo Powershell script Mar 11, 2009 $script:totalSize += ([System.Int64]$mailbox.Size) $script:totalItems += ([System.Int32]$mailbox.TotalItems) $script:totalDeleted += ([System.Int64]$mailbox.DeletedMessageSizeExtended) $script:totalMailboxes += 1 } } } } “Mailbox name Mailbox size Item count Deleted size” | Out-File $OutPutFile -append “==================================================================================” | Out-File $OutPutFile -append ...
New Powershell brushes for Syntax Highlighter plus Mar 11, 2009 Since I once in a while post powershell scripts on my site, I like that fact that I can have them color highlighted for better readability, so I played around with several different syntax highlighters, but none of them was able to do powershell, so I created a brush for Syntax highligther plus. ...
Set file permissions with Set-ACL Mar 1, 2009 One of the guys at the minasi forum had a problem with setting permissions on multiple .ini files (Had to add the Deny setting to read for a certain group), he joked that I was probably able to write a powershell script to do it. ...
Double arrrgghhh Jan 29, 2009 Wife slipped on the stairs fracturing her big toe in such away she has to wear a cast for 4 weeks…
AArrggghhh Jan 22, 2009 This is going to be a short post, I fractured at least one bone in my hand playing basketball the other night, after sitting 6 hours in the emergency room until 4. ...
TomTom 930T and Bibob Jan 20, 2009 I just got my new TomTom 930T GPS, I unpacked it and connected it to my phone via Bluetooth, it asked me if I wanted to connect to “internet” and of course I had to try it, it asked me which country I was in, then which phone I had, my Nokia E65 was in the list, then which telco I used… But to my luck mine was not in the list, I know my carrier Bibob uses Sonofon network, so I decided to try choosing that from the menu. ...
Prevent screensaver from disturbing my presentations. Jan 20, 2009 Most companies have GPO settings that enforces a company wide screensaver policy, in my case the screensaver kicks in after 5 min. 5 Min is a very short time, when you are doing presentations or showing video content, so I decided to create a little AutoIT script to move the mouse 1 pixel after 4 min and 59 sec. ...
Quick and dirty ping script Jan 15, 2009 There was a question on the Minasi forum asking if someone had written a batch script to ping a bunch of servers.. So I thought: " I have’nt, but I would like to try". ...
Creating multiple users in multiple OU's Jan 8, 2009 The other day I was setting up a few VmWare test environments for work, where I had to test amongst other apps Quest Recovery Manager for AD.. So I had to create some users in Active Directory, I thought I would create a PowerShell script to do that (Must keep your PS skill fresh :) ...