Skip to content

Pyrolaptop

  • Home
  • Projects
    • Holiday & Trip Videos
    • Revision For A-Level Computing F453
    • SYS Domain
      • Web Mgmt and Tools
  • Knowledge Base
    • KB- Group Policy
    • KB-HyperV
    • KB-Microsoft Exams
    • KB-Office 365
    • KB-Powershell/CMD
    • KB-Remote Desktop
    • KB-Software
    • KB – Windows Server
  • Reviews
    • Hardware
    • Software
  • Channel

AD – View disabled accounts

October 16, 2017November 12, 2017 By Matt Comment Closed

Get-ADUser -Filter * -Property Enabled | Where-Object {$_.Enabled -like “false”} | FT Name, Enabled -Autosize

Example:

Name Enabled
—- ——-
Guest False
krbtgt False
AdaxU False
MEtest False

KB - Windows Server, KB-Powershell/CMD, Knowledge Base
WordPress Theme | Square by HashThemes