AndersonPatricio.ca

A Microsoft Unified Communications resource blog

Recent Posts

Search by Topic

Email Notifications

Blogroll

My Microsoft KBs

.:. About me..

Microsoft Community

Andy's Toolbox

Archives

Ads

SCRIPT: EnableOWApwd.ps1

Script Name: EnableOWAPwd.ps1 v1

Log:
v1.0 - Initial script. Description: Add the ChangeExpiredPasswordEnable entry in the registry and restart IIS using /noforce option.

Code:

#
# EnableOWAPwd.ps1
# Author: Anderson Patricio
# http://msmvps.org/blogs/andersonpatricio
#

Write-Host "Adding ChangeExpiredPasswordEnable key in the registry..."
New-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\services\MSExchange OWA" -Name "ChangeExpiredPasswordEnabled" -Value 1 -PropertyType "DWord"
Write-Host "Restarting IIS using /noforce option.."
IISReset /noforce

Comments

Anderson Patricio Get-news Blog said:

Hi folks, One of the cool features of Exchange Server 2007 Service Pack 3 is the ability to allow end

# July 6, 2010 10:57 AM
Leave a Comment

(required) 

(required) 

(optional)
 

(required) 

If you can't read this number refresh your screen
Enter the numbers above: