SqlSpnManager

Commands

All 13 SqlSpnManager commands, one page per command. Plain-English help generated from the source. Tap a card to see description, recipes, parameters, and safety notes.

Add-SqlSpnRegisters each SPN from a plan against the plan's AccountDn (primitive, no conflict check). Assert-SqlAccountStandardValidates an Active Directory account against a named compliance policy. Export-SqlSpnRegistrationScriptRenders a SPN plan into a clean setspn command bundle for an AD admin to run. Get-SqlSpnAccountVerifies and retrieves a standard Active Directory account. Get-SqlSpnDiscoveryEngineScans local Windows services for SQL Server identities and resolves their TCP ports. Get-SqlSpnInfrastructureResolves SPN-relevant infrastructure facts for a target SQL host or virtual name. Invoke-SqlSpnExecutionEngineExecutes an SPN plan: optional permission preflight, forest-wide duplicate check, then registration, with audit logging. New-SqlSpnPlanBuilds an SPN registration plan from a verified account, resolved infrastructure, and a role. Remove-SqlSpnDeregisters each SPN in a plan from the plan's AccountDn (primitive). Show-SqlSpnDiagnosticLists recent SPN audit log files and summarizes their contents. Start-SqlSpnConfigurationProgrammatic, parameterized entry point for SPN registration with policy compliance. Start-SqlSpnManagerInteractive entry point: walks the operator through SPN registration end-to-end. Test-SqlSpnPlanValidates a plan object's shape before execution.

Pages built by Tools/Build-SiteCommands.ps1 from the .ps1 files' comment-based help via WikiEngine. Source of truth is the code; this page is a derivation.