# Common Admin Gets
## Get mailbox permissions
Sometimes you just need to know who has access to a mailbox. The below will return the current permissions on the mailbox.
```PowerShell
$Identity =
[email protected]
Get-MailboxPermission -identity $Identity
```
# Common Admin Sets
## Adding Permission to a mailbox without automapping
In the below example "
[email protected]" - is the UPN of the mailbox that will receive the new permissions. The "
[email protected]" is the UPN of the user who will now be able to access the mailbox. The Automapping set to false - will prevent the calendar of the mailbox from mapping to the end user in question.
```PowerShell
Add-MailboxPermission -Identity
[email protected] -User
[email protected] -AccessRights FullAccess -AutoMapping $false
```
## Adding send as to a mailbox
When granting the full access control to a mailbox. This does NOT include the ability to send mail as the user, or shared mailbox. This permission is a different delegation, called a trustee right. In the below example "
[email protected]" - is the UPN of the mailbox that will receive the new permissions. The "
[email protected]" is the UPN of the user who will now be able to send mail as the "
[email protected]" user.
```powershell
Add-RecipientPermission -Identity
[email protected] -trustee
[email protected] -AccessRights SendAs
```
## Add Calendar Permissions
Calendar permissions are dangerous, but you can do those too. It's important to keep in mind the "send notification to user" option. You should also keep an eye out for changes like this, as they can indicate someone sneaking access to calendar invites.
In the below example the identity param "
[email protected]:\Calendar" indicates the calendar called "calendar" is what permissions are being given to. The user param is who is getting the permissions.
```PowerShell
Add-MailboxFolderPermission -identity
[email protected]:\Calendar -User
[email protected] -SendNotificationToUser $false -AccessRights Editor
```