Here are some useful LawToolBox PowerShell Scripts to help with deployment and management of our product.
NOTE: Please check and make sure the scripts are applicable in your environment before running
SAMPLE: Deleted canceled deadlines
Help: Canceled deadlines in the calendar
(Attached below) |
SAMPLE: Canceled deadlines filter
Set-CalendarProcessing -Identity "[email protected]" -RemoveOldMeetingMessages $true |
SAMPLE: This will hide all LawToolBox groups from the global address book
Get-UnifiedGroup -Filter {Name -like 'tb.*'} | Set-UnifiedGroup -HiddenFromAddressListsEnabled $true |
SAMPLE: This will make all LawToolBox groups not show up in Outlook
Get-UnifiedGroup -Filter {Name -like 'tb.*'} | Set-UnifiedGroup – HiddenFromExchangeClientsEnabled |
SAMPLE: This will make all LawToolBox groups that are created not send that welcome email message
Get-UnifiedGroup -Filter {Name -like 'tb.*'} | Set-UnifiedGroup -UnifiedGroupWelcomeMessageEnabled:$false |
SAMPLE: Canceled deadlines filter
Set-CalendarProcessing -Identity "[email protected]" -RemoveOldMeetingMessages $true |
SAMPLE: Share Central Docketing User's Calendar with View Details rights for all internal users
Add-MailboxFolderPermission -Identity [email protected]:\calendar -AccessRights Reviewer |
SAMPLE: Removes all of LTB Deadlines from Calendar (used for migrations)
NOTE: You must have roles set for Discovery Management and Mailbox Import-Export Management enabled in Exchange Admin > Roles. Search-Mailbox cmdlet will be deprecated Sept. 1, 2023
Search-Mailbox -Identity [email protected] -SearchQuery 'Body:”LTBUID”‘ -DeleteContent |