1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 1Dara Script 

 

JavaScript
Edit|Remove
$computers = "<TextFileListofComputerToRunViaPoSh.txt>" 
 
 
 
$ADComp = "<OutputFileLocation.txt/.Log>" 
 
 
 
Get-Content $computers | Foreach {If (Get-ADComputer -Filter {Name -eq $_}{Add-Content $ADComp "$_ is Enabled $((Get-ADComputer $_).enabled) in Active Directory."} Else {Add-Content $ADComp "Warning!! $_ is not in Active Directory."}}