Since Microsoft publishes a docker image for powershell, all of these scripts should be set up to work that way.
This will allow you to support all platforms, and you can add things like MFA support without worrying about external dependencies. Trying to run something as simple as EnableMailboxAuditing from not-Windows gave me three different problems:
1) Need to install powershell
2) Need 5.x instead of 6.x because Out-Gridview is broken
3) Need to add an MFA plugin
Building and packaging these in docker would solve all of those.
Since Microsoft publishes a docker image for powershell, all of these scripts should be set up to work that way.
This will allow you to support all platforms, and you can add things like MFA support without worrying about external dependencies. Trying to run something as simple as
EnableMailboxAuditing
from not-Windows gave me three different problems: 1) Need to install powershell 2) Need 5.x instead of 6.x becauseOut-Gridview
is broken 3) Need to add an MFA pluginBuilding and packaging these in docker would solve all of those.