MicrosoftGraphWindowsUpdates.psm1
|
Set-StrictMode -Version Latest $privateFunctions = Get-ChildItem -LiteralPath (Join-Path $PSScriptRoot 'Private') -Filter '*.ps1' $publicFunctions = Get-ChildItem -LiteralPath (Join-Path $PSScriptRoot 'Public') -Filter '*.ps1' foreach ($file in @($privateFunctions) + @($publicFunctions)) { . $file.FullName } Export-ModuleMember -Function @( '*-MgWindowsUpdate*Beta' '*-MgWindowsUpdate*ReportExport' 'Get-MgWindowsUpdateQualityReport' ) |