Forum Discussion
Exchange Online PowerShell V2 module Connect-ExchangeOnline CommandName switch
- Apr 09, 2020
Well, it's a "wrapper" cmdlet, it calls Import-PSSession internally. You can modify the corresponding script containing the cmdlet, which you can find under: C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\XXXX\ExchangeOnlineManagement.psm1
Or you can do "manual" connectivity by getting a token directly and passing it to New-PSSession (although you will loose some functionalities).
Well, it's a "wrapper" cmdlet, it calls Import-PSSession internally. You can modify the corresponding script containing the cmdlet, which you can find under: C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\XXXX\ExchangeOnlineManagement.psm1
Or you can do "manual" connectivity by getting a token directly and passing it to New-PSSession (although you will loose some functionalities).
VasilMichev , So a parameter would have to be built-in... Is there a formal way to make that request to the devs?
- VasilMichevApr 10, 2020MVP
You can email them at the address listed here: https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2?view=exchange-ps