Public/Module/Initialize-KritTcmDllLoader.ps1
|
<# .SYNOPSIS Krit.TCM wrapper over Microsoft365DSC helper Initialize-M365DSCDllLoader (category: Module, module: M365DSCDllLoader). .DESCRIPTION Auto-scaffolded wave .1514 by New-KritTcmFromM365DscHelpers.ps1. Thin delegating passthrough — logic stays in Microsoft365DSC upstream; Krit.TCM provides the friendly namespace + citation registration for HARD RULE 20 discipline. Install-Module Microsoft365DSC -Scope CurrentUser BEFORE calling. .NOTES Wave .1514. Underlying cmdlet: Initialize-M365DSCDllLoader Category: Module Module: M365DSCDllLoader Params: 0 #> function Initialize-KritTcmDllLoader { [CmdletBinding()] param() if (-not (Get-Command -Name 'Initialize-M365DSCDllLoader' -ErrorAction SilentlyContinue)) { throw '[KritTcm] Initialize-M365DSCDllLoader not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'Initialize-M365DSCDllLoader' @PSBoundParameters } catch { Write-Error ('[KritTcm/Initialize-KritTcmDllLoader] ' + 'Initialize-M365DSCDllLoader' + ' failed: ' + $_.Exception.Message) throw } } |