Full disculosure, I work for Sharegate. Unfortunately this isn't possible at the moment, but feel free to vote for the feature on Sharegate's Uservoice here: -sharegate-desktop/suggestions/19337017-use-management-actions-and-features-in-powershell
I am attempting to create a WPF application that will execute some powershell commands using a 3rd party module (ShareGate). After extensive research and banging my head on the keyboard, I have gotten the application to at least execute the cmdlets I have asked for. The cmdlet in question, if run in powershell, will prompt the user to log into a web service using edge I believe. When running the cmdlet from the application, it throws an error which is misleading "during the last update edge was not able to be installed...."