Find Disable Computer in Active Directory With Powershell
#AD’de Disable Olan Bilgisayarlar
$Computerlist = get-content C:\unknown.txt
Foreach ($computer in $Computerlist)
{
Get-ADComputer -Filter “Name -like ‘$computer*'” -Properties * | Where-Object {$_.Enabled -like ‘*False*’} | Select-Object Name, Enabled, LastLogonDate, IPv4Address
}