Skip to content

Health Checker - Shared Files Updates#660

Merged
dpaulson45 merged 21 commits into
mainfrom
dpaul-MajorUpdates
Aug 2, 2021
Merged

Health Checker - Shared Files Updates#660
dpaulson45 merged 21 commits into
mainfrom
dpaul-MajorUpdates

Conversation

@dpaulson45
Copy link
Copy Markdown
Member

Did some major changes.

  • Removed the extern directory from DataCollection
  • Reworked all those files to be able to easily move to Shared if need be
  • Updated some of the current Shared files the Health Checker uses to be using a better standard
  • Placed all the required functions at the top of the source files where they are being used to dot load them
  • Removed Write-VerboseOutput function and are now just using Write-Verbose

@lusassl-msft to also test before approving

Comment thread Shared/Confirm-ExchangeShell.ps1 Outdated
Comment thread Shared/Confirm-ExchangeShell.ps1 Outdated
Comment thread Shared/Confirm-ExchangeShell.ps1 Outdated
Comment thread Shared/Confirm-ExchangeShell.ps1 Outdated
…ing it to class object

by setting to a variable, it will return a `$null` and we can check against it. Then set the value and provide a verbose information that we changed it if need be.
Even though it is handled, we shouldn't be calling `GetValueKind()` if the key doesn't exist.
To avoid returning a large list of Exchange server for testing Exchange Management Shell, adding in an Identity parameter to pass.

It is possible that the identity is not an Exchange Server, thus causing this to fail as if EMS is not loaded. This may cause misleading information in the end result. If we see an increase of question on the script(s) regarding this, will need to add in some logic to address it at that time.
Comment thread Diagnostics/HealthChecker/Analyzer/Invoke-AnalyzerEngine.ps1
Comment thread Diagnostics/HealthChecker/Analyzer/Invoke-AnalyzerEngine.ps1 Outdated
Comment thread Diagnostics/HealthChecker/Analyzer/Invoke-AnalyzerEngine.ps1
Comment thread Diagnostics/HealthChecker/Analyzer/Invoke-AnalyzerEngine.ps1
@dpaulson45 dpaulson45 merged commit d7201a4 into main Aug 2, 2021
@dpaulson45 dpaulson45 deleted the dpaul-MajorUpdates branch August 2, 2021 17:10
@dpaulson45 dpaulson45 added the Enhancement New feature or request label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request Health Checker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants