Connect-To: Add Exchange connection #3

Closed
opened 2017-09-21 14:21:12 +02:00 by OCram85 · 1 comment
Owner

Enable Connect-To to create a PS-Session with a given Exchange Host.

"Exchange" { 
                $CommandParms = @{
                  ConnectionURI = 'http://{0}/powershell' -f $RemoteHost
                  ConfigurationName = 'Microsoft.Exchange'
                  Credential = $creds
                }
                Try{
                  New-PSSession @CommandParms
Enable Connect-To to create a PS-Session with a given Exchange Host. ```powershell "Exchange" { $CommandParms = @{ ConnectionURI = 'http://{0}/powershell' -f $RemoteHost ConfigurationName = 'Microsoft.Exchange' Credential = $creds } Try{ New-PSSession @CommandParms ```
Author
Owner

fixed with #18

fixed with #18
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OCram85/PSCredentialStore#3
No description provided.