EntraIDInboundProvisioningHelper.psm1
# Get public and private function definition files. $Private = @( Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue ) $Public = @( Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue -Exclude "*.test.*" ) New-Variable -Name markdown -Value $null -Scope Script -Force # Dot source the files in order to define all cmdlets Foreach ($import in @($Public + $Private)) { Try { . $import.fullname } Catch { Write-Error -Message "Failed to import function $($import.fullname): $_" } } # Export all functions Export-ModuleMember -Function $Public.Basename |