revert 51cdd1fdb6
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 6s

revert Fixed Formatting of Files
This commit is contained in:
2026-04-26 17:22:05 -06:00
parent 8a686fad19
commit 59909dd12a
155 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
tags:
- PowerShell
- Reporting
- Scripting
---
``` powershell
$DaysInactive = 30
$time = (Get-Date).Adddays(-($DaysInactive))
Get-ADComputer -Filter {LastLogonTimeStamp -lt $time} -ResultPageSize 2000 -resultSetSize $null -Properties Name | Select Name
```