Import-Module ActiveDirectory  
 $users = $i = $null  
 $users = Get-ADUser - Filter * -SearchBase "ou=ou,dc=dc" 
 ForEach($user in $users)  
  {  
    "modifying $($user.name)"  
    Clear-ADAccountExpiration -Identity $user
    $i++  
 }  
"modified $i users"Cool thanks. If I wanted to make it across all users in all OUs I guess I would just do "dc=mydomain.com" or whatever?
 
	