Re Importing an In-Place Archive into a Mailbox

Make sure there is enough space in the mailbox to accommodate the import First we need to apply the correct permissions to the admin completing the work. New-ManagementRoleAssignment -Role “Mailbox Import Export” –User “Rob Ackers” Next we need to export the Archive mailbox New-MailboxExportRequest –Mailbox “Rob Ackers” -IsArchive -FilePath “\\SharePath\Rob Ackers Archive.pst” I would also […]

Sending Emails from Powershell

$SMTPServer = “SMTP Server Details” $SMTPPort = “25/587” $Username = “Email of login account” $Password = “***”   $to = “Email” $cc = “” $subject = “Results for AD Report LAST LOGON” $body = “Script version 1.0 by Maarten Mol”   $message = New-Object System.Net.Mail.MailMessage $message.subject = $subject $message.body = $body $$to) $$cc) $message.from = […]

Modifying Calendar Permissions for users

Adding Permissions Add-MailboxFolderPermission -Identity “Username we are chaining the permissions for:\Calendar” –User “Giving the Permissions to” -AccessRights Editor Removing the Permissions Remove-MailboxFolderPermission -Identity “Username we are chaining the permissions for:\Calendar” –User “Giving the Permissions to” The different Type of permissions are here • Author   CreateItems, DeleteOwnedItems, EditOwnedItems,FolderVisible, ReadItems • Contributor   CreateItems, FolderVisible • Editor   CreateItems, DeleteAllItems, DeleteOwnedItems, EditAllItems,EditOwnedItems, FolderVisible, ReadItems • None   FolderVisible • NonEditingAuthor   CreateItems, FolderVisible, ReadItems • Owner   CreateItems, CreateSubfolders, DeleteAllItems,DeleteOwnedItems, EditAllItems, EditOwnedItems, FolderContact,FolderOwner, FolderVisible, ReadItems • […]