Public/Module/Test-KriticalUtcmDependenciesForNewVersions.ps1
|
<# .SYNOPSIS Kritical.UTCM wrapper over Microsoft365DSC helper Test-M365DSCDependenciesForNewVersions (category: Module, module: M365DSCModuleMgmt). .DESCRIPTION Thin delegating passthrough — logic stays in Microsoft365DSC upstream; Kritical.UTCM provides the friendly namespace + citation registration. Install-Module Microsoft365DSC -Scope CurrentUser BEFORE calling. .NOTES Category: Module Module: M365DSCModuleMgmt Params: 0 #> function Test-KriticalUtcmDependenciesForNewVersions { [CmdletBinding()] param() if (-not (Get-Command -Name 'Test-M365DSCDependenciesForNewVersions' -ErrorAction SilentlyContinue)) { throw '[KriticalUtcm] Test-M365DSCDependenciesForNewVersions not available — Install-Module Microsoft365DSC -Scope CurrentUser then re-run' } try { & 'Test-M365DSCDependenciesForNewVersions' @PSBoundParameters } catch { Write-Error ('[KriticalUtcm/Test-KriticalUtcmDependenciesForNewVersions] ' + 'Test-M365DSCDependenciesForNewVersions' + ' failed: ' + $_.Exception.Message) throw } } |