M365Permissions v1.0.6

  • [Feature] Add multi-threading for huge performance gains
  • [Feature] Subclassify user as Internal or External
  • [Feature] Split SpO into three tabs
  • [Feature] Add Entra hidden webhooks (subscriptions)
  • [Bugfix] Improve progress bars

For more info:

M365Permissions module page || Github || PSGallery

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Abdullah
Abdullah
4 months ago

Thanks for sharing this code! I notice you’re using a custom multi-threading implementation with runspaces and a synchronized hashtable ($global:octo) rather than PowerShell’s built-in parallel features like ForEach-Object -Parallel in PS7 or Start-Job in PS5. I’m curious about what specific requirements or limitations led you to choose this more complex approach? Were there particular challenges with progress reporting, state management, or error handling that the built-in methods couldn’t address effectively?

I’d love to understand more about the design decisions here, as it could help others decide when to use custom threading versus native PowerShell parallelization.