SqlSpnManager

« All commands

Start-SqlSpnManager Interactive entry point: walks the operator through SPN registration end-to-end.

Read / Write SqlSpnManager v1.4.0

Description

Composes the full pipeline: Get-SqlSpnAccount -> Get-SqlSpnInfrastructure -> New-SqlSpnPlan -> Test-SqlSpnPlan -> Invoke-SqlSpnExecutionEngine

Selection of source (discovered local services vs. standard pool), target, and scenario is collected via prompts. The engine itself never prompts; only this wrapper does. Pester unit tests target the underlying functions directly without going through this wrapper.

Recipes

Recipe 1
EXAMPLE 1
Start-SqlSpnManager
Recipe 2
EXAMPLE 2
Start-SqlSpnManager -AutoConfirm

Notes

Per DR-007 the public engine surface (New-SqlSpnPlan, Invoke-SqlSpnExecutionEngine) is fully parameterizable. Use those directly for unattended automation.

Parameters

-AutoConfirm optional SwitchParameter
Skip the final Y/N execution prompt. Other prompts still run unless mocked.
-WhatIf optional SwitchParameter
-Confirm optional SwitchParameter

Was this page helpful? Report an issue or suggest an improvement →