Conex is a set of commands that ease connecting to - and disconnecting from - Exchange /Online, using plain Windows PowerShell. A quick series of choice prompts caters to the common Exchange targets while parameters accommodate unattended scenarios:
The first command (function) is Connect-Exchange. It does what its name implies. Its alias, ‘conex’ (included with the module) is where this module got its name.
The best way to learn how to use Connect-Exchange is to just call it -
PS C:\> conex [Enter] - and follow along with the randomized tips and guided choice prompts. It’s designed to be easy, and informative.
Quick/easy/clean session removal. Note conex offers to end existing sessions as well (if detected).
Easily update the PowerShell window title to show the connected Exchange server. Easily revert back afterwards by calling tex again after disconnecting.
In the future I plan on adding at least a few more things to this module. Not in any particular order, some of these are: