PowerShell - Get Disabled Computers
- Jon Boyette
- Sep 27, 2022
- 1 min read
Save as a named .ps1, this will output all disabled machines to a csv
# Get all disabled computers
Get-ADComputer -Filter "Enabled -eq 'False'" | Export-CSV c:\temp\ADDisabledComputers.csv -NoTypeInformation
Comments