microsoft / CSS-Exchange

Exchange Server support tools and scripts
MIT License
1.21k stars 332 forks source link

Allow other features to work from a tools box #2126

Open dpaulson45 opened 2 days ago

dpaulson45 commented 2 days ago

Issue: When trying to use the Vulnerability Report feature from a tools box, the script would fail with WARNING: Can't run Exchange Health Checker Against a Tools Server. Use the -Server Parameter and provide the server you want to run the script against.

Reason: We should be able to run the script from a tools box.

Fix: Addressed the code to only look at the Server parameter when we are in the ParameterSetName for HealthChecker or MailboxReport

Resolved #1666

Validation: Lab tested