Functions/Internal/Invoke-So.ps1
<#
.SYNOPSIS Short description .DESCRIPTION Long description .EXAMPLE PS C:\> <example usage> Explanation of what the example does .INPUTS Inputs (if any) .OUTPUTS Output (if any) .NOTES invokes https://docs.sentryone.com/help/sentryone-installer#install-sentryone #> function Invoke-So{ [CmdletBinding()] param ( [string] $action, [string] $connection, #ConnectionName, [string] $serverName, [string] $databaseName #connectionDatabase, ) if ($actions.action -notcontains $action){ throw "action '$action' not supported " } Write-Host "$Connection $servername $DatabaseName" } |