Update StackMonkey.ps1
This commit is contained in:
@@ -87,6 +87,21 @@
|
||||
# ─────────────────────────────────────────────────────────────────────────
|
||||
# 1) ENTRYPOINT + PARAMETER DECLARATION
|
||||
# ─────────────────────────────────────────────────────────────────────────
|
||||
function Invoke-ScriptMonkey {
|
||||
[CmdletBinding(
|
||||
DefaultParameterSetName='UI',
|
||||
SupportsShouldProcess=$true,
|
||||
ConfirmImpact='Medium'
|
||||
)]
|
||||
param(
|
||||
[Parameter(Mandatory,ParameterSetName='Toolkit')] [switch]$SilentInstall,
|
||||
[Parameter(Mandatory,ParameterSetName='DattoFetch')]
|
||||
[Parameter(Mandatory,ParameterSetName='DattoInstall')]
|
||||
[string]$N8nPassword,
|
||||
…
|
||||
)
|
||||
|
||||
# — all of your modules, helpers, functions, etc. go here —
|
||||
|
||||
[CmdletBinding(
|
||||
DefaultParameterSetName='UI',
|
||||
@@ -1561,6 +1576,8 @@ function Start-Server {
|
||||
}
|
||||
#endregion ScriptMonkey run silently Entrypoint
|
||||
|
||||
|
||||
} # <— end of Invoke-ScriptMonkey
|
||||
|
||||
|
||||
Invoke-ScriptMonkey @PSBoundParameters
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user