SpnManager/reference:74
Kerberos broken now? →
reference/lifecycle/Invoke-SpnLifecycle

Invoke-SpnLifecycle

Runs the SpnManager SPN lifecycle for a registered provider.

module 0.4.0PowerShell 5.1 · 7SupportsShouldProcesswrites to AD when Implement runs
syntax
Invoke-SpnLifecycle    -ProviderId     [-TargetComputer ]    [-PassThru]    [-WhatIf] [-Confirm]    []
voice / plain · this tab is sample content; the generation pipeline supplies the real voices

This is the one command most people run first. Give it a provider ID and it walks the whole lifecycle for that provider: it senses what is running, proposes the SPN set, tests the plan against AD, and then either implements the change or, for audit-only providers, produces a hand-off bundle.

Nothing is written to AD unless the provider has a write path and you did not pass -WhatIf. For any provider whose far side holds a keytab, the final stage is always a runbook.

Each stage is a separate function registered in providers.json. This command is thin glue; MCP and pipeline callers should call the stages directly.
parameters
-ProviderId
Registry ID of the provider to run, for example SQL.Engine or AD.RDP. Must match a registered provider with Status = Implemented. Mandatory.
-TargetComputer
Host to target. Forwarded to each stage function that declares a TargetComputer parameter; local-only sense functions receive nothing.
-PassThru
Return the final stage result object to the pipeline. Without it, progress goes to Write-Verbose only.
-WhatIf / -Confirm
Standard ShouldProcess switches. -WhatIf shows what the Implement stage would do without changing AD.
examples
example 1
Invoke-SpnLifecycle -ProviderId 'SQL.Engine'# Runs the full SQL.Engine lifecycle against the local machine.
example 2
Invoke-SpnLifecycle -ProviderId 'AD.RDP' -TargetComputer 'srv01' -PassThru# Runs the RDP provider lifecycle against srv01 and returns the result.
example 3
Invoke-SpnLifecycle -ProviderId 'SQL.Engine' -WhatIf# Shows what the Implement stage would do without making AD changes.
outputs

Nothing by default. With -PassThru: the result object from the final stage — SpnExecutionResult, SpnAuditResult, or a hand-off bundle.

stage routing
stagereceivesnotes
SenseTargetComputer, if accepted
ProposeCandidate + TargetComputer
TestPlan + TargetComputerblocks on unresolved conflict
ImplementPlan + TargetComputerShouldProcess-gated
HandoffPlan + TargetComputeraudit-only providers
generated from module source · {{ tok.WIKI_BUILD_ID }}report an error on this page

how a generated page inherits the design

Three columns, two collapse

Sidebar (search + grouped commands), article, on-page nav. Below 900px the sidebar becomes a top drawer and the page nav folds into the tab row.

Voices are tabs, not sections

Each voice is a full explanation of the same command. Tabs keep one voice visible at a time; without JavaScript all voices render stacked in order, each under its heading.

Code is the material

Syntax and examples use the same code-block treatment as the marketing pages: command in the accent colour, comments muted, warnings in the fallback colour. Copy behaviour is progressive enhancement.

Header carries the SPN mark

The site header reads SpnManager/reference:74 on every wiki page, so a reader landing from search knows where they are and how big the space is.