기술자료 (KB)/Active Directory (AD)
Powershell 계정 사용 안함 사용자 확인 방법
이완주
2020. 12. 16. 14:51
도메인 전체 사용자 대상
Get-ADUser -Filter * -Property Enabled | Where-Object {$_.Enabled -like "false"} | FT Name, Enabled -Autosize
특정 위치 값 검색
Get-ADUser -Filter * -SearchBase "OU=gsoft,DC=gsoft,DC=local" -Property Enabled | Where-Object {$_.Enabled -like "false"} | FT Name, Enabled -Autosize
'Active Directory 사용자 및 컴퓨터' 저장된 쿼리를 이용할 수도 있습니다.
저장된 쿼리 - 새로 만들기 - 쿼리
이름 설정 - 쿼리 정의
계정 사용 안함 체크