Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Search for All Contacts by the Date Their Account was Last ModifiedContent of Search for All Contacts by the Date Their Account was Last Modified.ps1MD5 Hash: 62FFB7994DBB99F4A8A6F3C9EBC0FBB4 |
||
$strFilter = "(&(objectClass=Contact)(whenChanged>=20071001000000.0Z))"
$objDomain = New-Object System.DirectoryServices.DirectoryEntry $objSearcher = New-Object System.DirectoryServices.DirectorySearcher $objSearcher.SearchRoot = $objdomain $objSearcher.PageSize = 1000 $objSearcher.Filter = $strFilter $colProplist = "name" foreach ($i in $colPropList){$objSearcher.PropertiesToLoad.Add($i)} $colResults = $objSearcher.FindAll() foreach ($objResult in $colResults) {$objItem = $objResult.Properties; $objItem.name} | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |