ServiceAccount-Audit

1.0.0

Service account security auditing. Discovers service accounts across servers, reports on password age, privileged group membership, SPNs, and identifies accounts with no documented owner. Generates HTML dashboard reports. Requires ActiveDirectory RSAT module.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name ServiceAccount-Audit

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

Install-PSResource -Name ServiceAccount-Audit

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 Larry Roberts. All rights reserved.

Package Details

Author(s)

  • Larry Roberts Independent Consultant

Tags

ServiceAccount Security Audit ActiveDirectory Password SPN Compliance

Functions

Invoke-ServiceAccountAudit Get-ServiceAccountInventory Get-ServiceAccountAge Get-ServiceAccountUsage Get-SPNReport

Dependencies

This module has no dependencies.

Release Notes

## 1.0.0
- Initial release
- Service account discovery via name pattern, PasswordNeverExpires, OU, and SPN detection
- Password age analysis with CRITICAL/HIGH/MEDIUM/LOW risk ratings
- Remote server service scan via WinRM + CimInstance
- SPN / Kerberoasting risk assessment
- HTML dashboard report with dark theme

FileList

  • ServiceAccount-Audit.nuspec
  • .git\COMMIT_EDITMSG
  • .git\HEAD
  • .git\config
  • .git\description
  • .git\hooks\applypatch-msg.sample
  • .git\hooks\commit-msg.sample
  • .git\hooks\fsmonitor-watchman.sample
  • .git\hooks\post-update.sample
  • .git\hooks\pre-applypatch.sample
  • .git\hooks\pre-commit.sample
  • .git\hooks\pre-merge-commit.sample
  • .git\hooks\pre-push.sample
  • .git\hooks\pre-rebase.sample
  • .git\hooks\pre-receive.sample
  • .git\hooks\prepare-commit-msg.sample
  • .git\hooks\push-to-checkout.sample
  • .git\hooks\sendemail-validate.sample
  • .git\hooks\update.sample
  • .git\index
  • .git\info\exclude
  • .git\logs\HEAD
  • .git\logs\refs\heads\master
  • .git\logs\refs\remotes\origin\master
  • .git\objects\03\3be127bba79707c132e3d0d24407a8ce0718e9
  • .git\objects\22\97b1a1eeb0c4d753f0fecfdb699b1a63f6b62c
  • .git\objects\30\6f9db9d0cb1782371170934bd4786bb3c3b57e
  • .git\objects\48\91e4d1ddfbc27ce5c48d08e0babcf07bd1bc90
  • .git\objects\53\fa69e0355db3d744044036bf96ffa23501389d
  • .git\objects\55\078a3c129337f48fa993bfa4e8055409bbb02b
  • .git\objects\5a\bbef2bb49797042e68155d55ae5a5f9b221744
  • .git\objects\5d\8998e79db3167a25937ee09dd4bf81e4a64887
  • .git\objects\68\453f88bc877396658912f83865cb2bbca1a722
  • .git\objects\6a\21e3f3046bdf0d04703436fac92591064279e7
  • .git\objects\80\b7f1305fd3ec95076bd945c1cf6c31c1bb7ad8
  • .git\objects\8c\44200dd202c38a92745fadef981bc1f313777b
  • .git\objects\99\a11a2bf0beaf092416d5caf8ed9c7744607d19
  • .git\objects\9a\6d80b76967a78e5e7129d8f333fdf3a0c3e7a1
  • .git\objects\db\e73f06b1d89e0ea20f7ba5eee078096f65e5d8
  • .git\objects\e6\f03b49df76ace4f24fa5e49070a112ec6183d8
  • .git\objects\e7\2f6d4c39a170c753bad5cb365619cdf418f9d7
  • .git\objects\f6\d1af5c7d30b4d3390fa2045352878b9d1d1467
  • .git\refs\heads\master
  • .git\refs\remotes\origin\master
  • LICENSE
  • Private\New-HtmlDashboard.ps1
  • Public\Get-SPNReport.ps1
  • Public\Get-ServiceAccountAge.ps1
  • Public\Get-ServiceAccountInventory.ps1
  • Public\Get-ServiceAccountUsage.ps1
  • Public\Invoke-ServiceAccountAudit.ps1
  • README.md
  • Samples\sample-report.html
  • ServiceAccount-Audit.psd1
  • ServiceAccount-Audit.psm1
  • Tests\ServiceAccount-Audit.Tests.ps1

Version History

Version Downloads Last updated
1.0.0 (current version) 3 2/16/2026