microsoft / microsoft/CSS-Exchange

[Issue] Exchange Log Collector - One Server Fails within Invoke-Command of main execute

Open
#1,665 0 comments 0 reactions 1 assignee View on GitHub

@dpaulson45 is already working on this.

Since Apr 17, 2023.

Exchange Log Collector Issue Need Investigation
Dominant language
PowerShell
Stars
1.3k
Forks
395
Avg merge
14h 7m
Merged PRs (30d)
5

Description

Describe the issue
By default Exchange Log Collector goes through and checks out if we can hit each server with Invoke-Command. If we can't it gets removed from the list. However, we can oddly run into issue within the main execute that causes the script to bail out and stop working. Sometimes this is right away, other times it is a soft error that allows the main remote execution to continue prior to the main execution thread then bails out. Need to improve the logic to better handle these scenarios.

Expected behavior
If we aren't able to run the main Invoke-Command and it is never executed on the main threads of the remote machines, then bail out. Otherwise, we should attempt to handle the servers that we can still talk to.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.