ADFSDiagnostics.psm1
#Requires -Version 4 #Requires -RunAsAdministrator <# .SYNOPSIS Contains data gathering, health checks, and additional utilities for AD FS server deployments. .DESCRIPTION Version: 3.0.2 ADFSDiagnostics.psm1 is a Windows PowerShell module for diagnosing issues with ADFS .DISCLAIMER THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Copyright (c) Microsoft Corporation. All rights reserved. #> $Script:ModuleVersion = "3.0.2" Function Write-DeprecationNotice { Write-Host "This module has been deprecated, please use ADFSToolbox." -BackgroundColor DarkYellow -ForegroundColor Black Write-Host "You can find more information at https://github.com/Microsoft/adfsToolbox" -BackgroundColor DarkYellow -ForegroundColor Black } Write-DeprecationNotice #Get public and private function definition files. Write-Debug "Importing public and private functions" $Public = @(Get-ChildItem -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue) $Private = @(Get-ChildItem -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue) #Dot source the files foreach ($import in @($Public + $Private)) { try { . $import.fullname } catch { Write-Error -Message "Failed to import script $($import.fullname): $_" } } Export-ModuleMember -Function $Public.Basename |