Find Stale Computers
find_stale_computersIdentifies stale Active Directory computers by last logon age, flagging those older than a cutoff (default 90 days) and optionally including never-logged-on machines.
Instructions
Find computers whose last logon is older than days (default 90).
Matches lastLogonTimestamp at or before the cutoff. Set
include_never=True to also return computers that never logged on. Pass
base (a DN) to scope to an OU.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| days | No | ||
| limit | No | ||
| domain | No | ||
| include_never | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |