PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant Windows PowerShell…

HOTSPOT
Contoso, Ltd., has an Office 365 tenant. All employees have Exchange Online mailboxes. You create a shared mailbox named SharedMailbox1@contoso.com.
You need to grant the permission to SendAs from the SharedMailbox1 mailbox to User1@contoso.com.
How should you complete the relevant Windows PowerShell commands? To answer, select the appropriate
Windows PowerShell commands from each list in the answer area.
Hot Area:

to manage Send As permissions. https://technet.microsoft.com/en-us/library/bb124403(v=exchg.160).aspx

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

In the Exchange Management Shell, you can use the Add-ADPermission and Remove-ADPermission cmdlets
This example grants Send As permissions for Aaron Painter to Terry Adams’s mailbox.
Add-ADPermission -Identity “Terry Adams” -User AaronPainter -AccessRights ExtendedRight -ExtendedRights
“Send As”
References:

8 Comments on “How should you complete the relevant Windows PowerShell…

  1. Dmitry says:

    Correct answer is Add-MailboxPermission

    https://technet.microsoft.com/en-us/library/bb124403(v=exchg.160).aspx
    Add-ADPermission
    This cmdlet is available only in on-premises Exchange Server 2016.
    Use the Add-ADPermission cmdlet to add permissions to an Active Directory object.

    https://technet.microsoft.com/en-us/library/bb124097(v=exchg.160).aspx
    Add-MailboxPermission
    This cmdlet is available in on-premises Exchange and in the cloud-based service.




    1



    16
    1. deles says:

      That’s where you’re wrong kiddo.

      PS C:\> get-help Add-RecipientPermission -detailed

      NAME
      Add-RecipientPermission

      SYNOPSIS
      This cmdlet is available only in the cloud-based service.

      Use the Add-RecipientPermission cmdlet to add SendAs permission to users in a cloud-based organization.

      For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax
      (https://technet.microsoft.com/library/bb123552.aspx).




      7



      0
  2. Franck says:

    AddRecipientPermission is for SendAs rights, which is asked for and the correct answer.
    AddMailboxPermission is for Mailbox rights (not SendAs), which is not asked for.




    6



    0
  3. Martin says:

    I agree with Franck. AddRecipientPermission is correct.

    Add-ADPermission -Identity “Terry Adams” -User AaronPainter -AccessRights ExtendedRight -ExtendedRights “Send As”
    This example grants Send As permissions for Aaron Painter to Terry Adams’s mailbox.

    Reference: https://docs.microsoft.com/en-us/powershell/module/exchange/active-directory/add-adpermission?view=exchange-ps

    Add-MailboxPermission -Identity “Terry Adams” -User “Kevin Kelly” -AccessRights FullAccess -InheritanceType All
    This example assigns the user Kevin Kelly Full Access permission to Terry Adams’s mailbox.

    https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-mailboxpermission?view=exchange-ps

    Add-RecipientPermission “Help Desk” -AccessRights SendAs -Trustee “Ayla Kol”
    This example gives the user Ayla Kol SendAs permission for the mailbox Help Desk. Ayla can send messages that appear to come directly from the Help Desk mailbox.

    Reference: https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/add-recipientpermission?view=exchange-ps




    2



    0

Leave a Reply