110 likes | 137 Views
After you have installed and configured Windows PowerShell and Windows Remote Management (WinRM) on your computer, you have to connect the Windows PowerShell on your local computer to the cloud-based service to perform tasks in your cloud-based organization.<br>
E N D
How To Give Full Mailbox Permission In Office365 https://www.serverconsultancy.co.uk/how-to-provide-full-mailbox-permission-in-office365/
After you have installed and configured Windows PowerShell and Windows Remote Management (WinRM) on your computer, you have to connect the Windows PowerShell on your local computer to the cloud-based service to perform tasks in your cloud-based organization.
To start, you need to connect to the online service. To do so, start with the command:
> $LiveCred = Get-Credential Once you run this command it will prompt you with a username and password. You will need to enter the Office365 administrator access details. After authentication you need to setup the session by running the following two commands.
> $Session = New-PSSession -ConfigurationNameMicrosoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection
> Import-PSSession $Session After session setup you can manage your Office365 Exchange 2010 commandlets. Following is the example if you want to give the full access permission to UserB for UserA’s mailbox folders. run the command:
> Add-MailboxPermission -identity UserA@domain.com -user UserB@domain.com -AccessRightsFullAccess When you’re finished using the server-side session, always disconnect Windows PowerShell by running the following command:
> Remove-PSSession <session variable> For more detailed information, please refer the link below: Connect Windows PowerShell to Exchange OnlineAdd-MailboxFolderPermission
Have any questions about Microsoft Office 365? Or maybe you’d like to know more about how Server Consultancy can help you with your Office 365 business needs?
Contact us now on 0845 094 3164 and we’ll do our best to answer any questions you might have.
Presented by Server consultancy ltd https://www.serverconsultancy.co.uk