Tag Archives: office 365

Editing calendar permissions Office 365 with powershell

After adding a new user into Office 365, the user has to be allowed to read/write some shared calendars withing the organization. First of all you will need to connect to Office 365 Add permission to the calendar [codesyntax lang=”powershell”] Add-MailboxFolderPermission calendar@company.com:\Calendar -User dude@company.com -AccessRights Author [/codesyntax] Note: AccessRights can be: Owner, PublishingEditor, Editor, PublishingAuthor, … Continue reading Editing calendar permissions Office 365 with powershell

How to add an Out of Office message in Office 365 using powershell

I know it’s a simply task to do from OWA, but if you want to add an Out of Office message for another user, you will have to reset it’s password, login into OWA and setup the message there. But I don’t want to reset the user’s password. So, after connecting to office 365, use … Continue reading How to add an Out of Office message in Office 365 using powershell

How to forward emails in Office 365

You want an easy way to forward all mails for one or more user(s) to another user? There are several ways to achieve this. One of them is to run the following command in powershell after you connect to Office 365. [codesyntax lang=”powershell”] Set-Mailbox user1 -ForwardingSmtpAddress user2@example.com -DeliverToMailboxAndForward $false [/codesyntax] In this case, user1 is … Continue reading How to forward emails in Office 365

Grep-ing in Microsoft windows powershell

How you find all maiboxes which starts with a certain string in tons of mailboxes in your Office 365 (Microsoft Exchange Server)? In Linux is quite simple… you use grep, but how about Microsoft Windows Powershell? You have to remember the findstr command: [codesyntax lang=”powershell”] PS C:\> findstr /? Searches for strings in files. FINDSTR … Continue reading Grep-ing in Microsoft windows powershell

How to create an organization calendar in Office 365

Recently I migrated company’s email to Microsoft Office 365. Because I haven’t worked before with Office 365 the process wasn’t so easy as I expected initially, but after passing all challenges, I got it done. Next challenge was to create a company calendar so every user can use it. There are few posts on the … Continue reading How to create an organization calendar in Office 365

How to connect to Office 365 from powershell

MS Outlook & Exchange sucks but that’s what my company supports. I am not going to discuss why I need it this… it will end up in an unnecessary flame. Required software: Download and install Microsoft .NET Framework 3.5 SP1: http://www.microsoft.com/en-us/download/details.aspx?id=25150 Download and install Microsoft Sign In Assistant: http://www.microsoft.com/en-us/download/details.aspx?id=39267 Download and install Windows Azure AD … Continue reading How to connect to Office 365 from powershell