microsoft / microsoft/CSS-Exchange
[Issue] Exchange Log Collector - One Server Fails within Invoke-Command of main execute
@dpaulson45 is already working on this.
Since Apr 17, 2023.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.