Hello,
I would like to connect to my Exchange server with IMAP4, in Powershell.
I have found that ImapX 2 could help me to do this (http://imapx.org/)
I have downloaded the package, read the documentation and another article on StackOverflow on how to connect to Exchange with ImapX and Powershell (https://stackoverflow.com/questions/9959668/get-email-using-powershell)
I have write a script just to test if I am able to connect to my Exchange server:
Powershell
### Connexion Test to Exchange with ImapX$MailServer="exchange.myjob.lan"$User="myuser"$Password=Get-Credential-Credential$User$DebugFile="D:\PowerShell\Script\Exchange\ConnectImapEx01Debug.txt"### Import Dll imapx.dll[Reflection.Assembly]::LoadFile("D:\PowerShell\Utils\ImapX 2.0.0.16 Binaries\v3.5 client\ImapX.dll")### Client Object Creation$client=New-ObjectImapX...