Install-sqmAdModule
ConfigurationsqmSQLTool v1.8.2+ · Module Setup⚠ Admin Required Fallback Chain
Parameters
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| -SkipIfPresent | switch | Switch | $true | Skip installation if module already present. |
| -ContinueOnError | switch | Switch | $false | Return $false instead of throwing on failure. |
| -EnableException | switch | Switch | $false | Throw exceptions immediately (overrides -ContinueOnError). |
| -WhatIf / -Confirm | switch | Optional | — | ShouldProcess supported for preview. |
Execution Flow
Examples
Install if missing
Install-sqmAdModule
Force reinstall even if present
Install-sqmAdModule -SkipIfPresent:$false