First we use Get-CimInstance for Win32_OperatingSystem to figure out if the component is running on an AD server or not. We then use either Get-ADUser or Get-Localuser and filter based on last login time.
Level |
Name |
Value |
Notes |
Component |
AccountAge |
12 |
Months since last login |
If this component downloads any external files other then grabbing the script from our repository, they will be listed here so you can do your own due diligence if needed.
Filename |
URL |
Path |
Notes |
This component does not download anything else |
11/26/2022 – Initial Release