Instructions for updating the SSL Certificate used by CRM 2011 (Claims based and/or IFD environments)
- April 26th, 2013
- By Germán Medina
- Write comment
if ([System.Diagnostics.EventLog]::SourceExists($source) -eq $false) {
[System.Diagnostics.EventLog]::CreateEventSource($source, "Application")
}
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Add-MailboxFolderPermission -Identity “userA:\Calendar” -AccessRights PublishingEditor -User UserB
Remove-PSSession $Session
sc delete “Service Name”