Hi All,
I have a quick question, I am trying to create an app to create a new Distribution or Security group depending on the option selected. Could you please advise how to import the module for Exchange?
Regards
Nikedia
Invoking Exchange
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Invoking Exchange
There are no Exchange modules to import. We just connect to Exchange.
https://technet.microsoft.com/en-us/lib ... .160).aspx
https://technet.microsoft.com/en-us/lib ... .160).aspx
- $UserCredential = Get-Credential
- $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<FQDN of Exchange 2013 Client Access server>/PowerShell/ -Authentication Kerberos -Credential $UserCredential
- Import-PSSession $Session