Public/Export/Resolve-KritTcmExportRelations.ps1
|
<# .SYNOPSIS Krit.TCM wrapper over Microsoft365DSC helper Resolve-M365DSCExportRelations (category: Export, module: M365DSCExportUtil). .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: Resolve-M365DSCExportRelations Category: Export Module: M365DSCExportUtil Params: 3 #> function Resolve-KritTcmExportRelations { [CmdletBinding()] param( [Parameter(Mandatory)] [String] $ResourceName, [Parameter(Mandatory)] [String] $InstanceName, [Parameter(Mandatory)] [Hashtable] $Results ) if (-not (Get-Command -Name 'Resolve-M365DSCExportRelations' -ErrorAction SilentlyContinue)) { throw '[KritTcm] Resolve-M365DSCExportRelations not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'Resolve-M365DSCExportRelations' @PSBoundParameters } catch { Write-Error ('[KritTcm/Resolve-KritTcmExportRelations] ' + 'Resolve-M365DSCExportRelations' + ' failed: ' + $_.Exception.Message) throw } } |