Dargslan.LocalAdminAudit

1.0.0

Audit Windows local users and the Administrators group: members, dormant accounts, Guest state, unknown SIDs.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Dargslan.LocalAdminAudit

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Dargslan.LocalAdminAudit

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Dargslan. All rights reserved.

Package Details

Author(s)

  • Dargslan

Tags

local-admin users audit compliance windows sysadmin dargslan hardening laps

Functions

Get-DargslanLocalAdmins Get-DargslanLocalUsers Get-DargslanInactiveLocalAccounts Get-DargslanLocalAdminAuditReport Export-DargslanLocalAdminAuditReport

Dependencies

  • .NETStandard 2.0

    • No dependencies.

Release Notes

Initial release. Local admin enumeration, dormant account detection, Guest state, score and HTML / JSON export.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 4 4/18/2026