Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
active_directory [2022/01/17 17:10] – [Solutions] mgupton | active_directory [2022/01/17 17:21] (current) – [Solutions] mgupton | ||
---|---|---|---|
Line 15: | Line 15: | ||
pause | pause | ||
</ | </ | ||
+ | |||
+ | ---- | ||
=== Get LastLogon to find stale user accounts === | === Get LastLogon to find stale user accounts === | ||
+ | // | ||
<code powershell> | <code powershell> | ||
Get-ADUser -Credential $Credentials -Server pdc -Filter * -Properties * | Select-Object Name, @{N=' | Get-ADUser -Credential $Credentials -Server pdc -Filter * -Properties * | Select-Object Name, @{N=' | ||
</ | </ | ||
- | See this [[https:// | + | See theses solutions for handling multiple domain controllers, |