Last Updated on April 29, 2021 by Mathew Diekhake
CSS Exchange is for Exchange Server support tools and scripts.
Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems. The first version was called Exchange Server 4.0, to position it as the successor to the related Microsoft Mail 3.5. Exchange initially used the X.400 directory service but switched to Active Directory later. Until version 5.0 it came bundled with an email client called Microsoft Exchange Client. This was discontinued in favor of Microsoft Outlook.
Exchange Server primarily uses a proprietary protocol called MAPI to talk to email clients, but subsequently added support for POP3, IMAP, and EAS. The standard SMTP protocol is used to communicate to other Internet mail servers. Exchange Server is licensed both as on-premises software and software as a service (SaaS). In the on-premises form, customers purchase client access licenses (CALs); as SaaS, Microsoft charges a monthly service fee instead.
Changelog:
- 06590f2 RemoveInvalidPermissions fixes
$byEntryId = $badPermissions | Group-Object EntryId
$progressCount = 0
$badPermissions | Select-Object -Unique EntryId | ForEach-Object {
Write-Progress -Activity "Removing invalid permissions" -Status "++$progressCount / $($byEntryId.Count)" -PercentComplete ($progressCount * 100 / $byEntryId.Count) -CurrentOperation $_.Identity
$progressCount++
Write-Progress -Activity "Removing invalid permissions" -Status "$progressCount / $($byEntryId.Count)" -PercentComplete ($progressCount * 100 / $byEntryId.Count) -CurrentOperation $_.Identity
$folder = $_
Get-PublicFolderClientPermission -Folder $folder.EntryId | ForEach-Object {
Get-PublicFolderClientPermission -Identity $folder.EntryId | ForEach-Object {
if (
($_.User.DisplayName -ne "Default") -and
($_.User.DisplayName -ne "Anonymous") -and
($null -eq $_.User.ADRecipient) -and
($_.User.UserType -eq "Unknown")
) {
Write-Host "Removing $($_.User.DisplayName) from folder $($folder.Identity)"
Write-Host "Removing $($_.User.DisplayName) from folder $($_.Identity.ToString())"
$_ | Remove-PublicFolderClientPermission -Confirm:$false
}
}
Other changes:
- dd55c1e Merge pull request #36 from microsoft/main
- 62183ba Merge pull request #35 from microsoft/bilong-removeinvalidperms