|
|
Browse by Tags
All Tags » ADSI » computeraccount (RSS)
-
#Sources: http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov06/hey1109.mspx# http://thepowershellguy.com/blogs/posh/
$objDomain = [ADSI]''
New-Item -ItemType file computers.txt -Force
$objSearcher = New-Object System.DirectoryServices.DirectorySearcher$objSearcher.SearchRoot = $objDomain$objSearcher.Filter ...
|
|
|