Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Work Item] Work on a framework idea for multi-threading #2236

Open
dpaulson45 opened this issue Nov 27, 2024 · 1 comment
Open

[Work Item] Work on a framework idea for multi-threading #2236

dpaulson45 opened this issue Nov 27, 2024 · 1 comment
Assignees
Labels
Enhancement New feature or request Health Checker Work Item Work Item for project work

Comments

@dpaulson45
Copy link
Member

Describe the work
Create a generic framework that will allow Health Checker to become multithreaded and work in large environments.

Additional Context
Invoke-Command with -AsJob should allow for this to work. Need to review and use some of the same logic that is already in Start-JobManager within the Exchange Log Collector the other locations that we used Receive-Job within the repository.

Need to create a dummy task list that does the following.

  • Able to setup and connect to Remote PowerShell for Exchange start with the server that we are trying to run against, then the server we are currently connected to
  • Get the ORG information
  • Collect a few things like hardware, and OS information
  • Run a few things in EMS, then a dependency task. Likely need to break things up with our Exchange Cmdlets as they could get too large to run remotely.
@dpaulson45 dpaulson45 added Enhancement New feature or request Health Checker Work Item Work Item for project work labels Nov 27, 2024
@dpaulson45
Copy link
Member Author

This is going to require a combination of job types. You are unable to use Invoke-Command and trying to connect to Remote Exchange Shell as you just end up getting odd errors. However, you are able to use Start-Job which works but doesn't allow you to execute things remotely against the server. Going to need to come up with something that does both most likely.

@dpaulson45 dpaulson45 self-assigned this Dec 6, 2024
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 Work Item Work Item for project work
Projects
None yet
Development

No branches or pull requests

1 participant