Archive for June, 2009

Polaris Anyone?

Do you use Google Analytics? Are you tired of having to login to Google to check how your site is performing? Would you rather have a funky tool on your desktop that gives you access to all your Google Analytics data, you are reading the right post.

Desktop Reporting have introduced a product called Polaris which does just this for you. If you have one website that you need to get info on, this product is completely free! Get Polaris here.

No Comments

Active Directory Password Expiry Reminder Email

If you have managed an Active Directory installation that has a large number of users who connect to the network infrequently, you may have faced a problem where the user’s password expires when they are away from the network and possibly leaving them in a situation where they are not able to reset their password remotely.

I recently was in this situation and had to write a script to intimate users about an impending password expiry. Here is what the script does:

Read the rest of this entry »

, ,

9 Comments

Exchange 2007 Recreate OWA folders

If you face an issue where OWA in Exchange 2007 stops working, there is a pretty cool powershell command you can run to recreate the OWA virtual directory. The following commands will get you going:

This command will list all the current virtual directories.

Get-OwaVirtualDirectory

This command will delete the “owa” virtual directory under the Default Web Site.

Remove-OwaVirtualDirectory -identity "owa (Default Web Site)"

This command will re-create the “owa” virtual directory under the Default Web Site.

New-OWAVirtualDirectory -OWAVersion "Exchange2007" -Name "owa (Default Web Site)"

When you run this command, if you get an error as follows, it is possible that IIS is set to work in the 32 bit mode and not the required 64 bit mode.

New-OwaVirtualDirectory : An error occurred while creating the IIS virtual directory ‘IIS://mailserver.somewhere.com/W3SVC/1/ROOT/owa’ on ‘mailserver’.
At line:1 char:24
+ New-OWAVirtualDirectory  <<<< -OWAVersion "Exchange2007" -Name "owa" -Website "Default Web Site"

To make IIS work in the 64 bit mode, you need to run the following command:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

Just in case you do not have the adsutil.vbs script in your adminscripts folder, you can download it from here.

Drop me a line to let me know if this post has helped you!

, , ,

No Comments