You have an Exchange Server 2013 organization named adatum.com. The organization contains five
Mailbox servers and two Client Access servers. You need to ensure that an administrator named
user1 receives a daily email message that contains a log of all the Exchange Server administrative
actions. Which cmdlet should you use in a scheduled task?
A.
Search-AdminAuditLog
B.
Set-Mailbox
C.
New-AdminAuditLogSearch
D.
Set-ExchangeServer
E.
Set-AdminAuditLogConfig
Explanation:
NOT A
Use Search-AdminAuditLog for searching through the audit logs.
Search-AdminAuditLog
Use the Search-AdminAuditLog cmdlet to search the contents of the administrator audit log.
For information about the parameter sets in the Syntax section below, see Syntax.
EXAMPLE 1
This example finds all the administrator audit log entries that contain either the New-RoleGroup or
the New-ManagementRoleAssignment cmdlet.
Search-AdminAuditLog -Cmdlets New-RoleGroup, New-ManagementRoleAssignment
NOT B
Set-Mailbox
Use the Set-Mailbox cmdlet to modify the settings of an existing mailbox. You can use this cmdlet for
one mailbox at a time.
To perform bulk management, you can pipeline the output of various Get- cmdlets (for example, the
Get-Mailbox or Get-User cmdlets) and configure several mailboxes in a single-line command. You
can also use the Set-Mailbox cmdlet in scripts.
For information about the parameter sets in the Syntax section below, see Syntax.
EXAMPLE 1
This example delivers John Woods’s email messages to John’s mailbox and also forwards them to
Manuel Oliveira’s ([email protected]) mailbox.
Set-Mailbox -Identity John -DeliverToMailboxAndForward $true -ForwardingSMTPAddress
[email protected]
NOT D
Set-ExchangeServer
Use the Set-ExchangeServer cmdlet to set Exchange attributes in Active Directory for a specified
server.
For information about the parameter sets in the Syntax section below, see Syntax.
EXAMPLE 1
This example disables error reporting on the specified server.
Set-ExchangeServer -Identity TestServer.Contoso.com -ErrorReportingEnabled: $false
NOT E
NOT Set-AdminAuditLogConfig
Use the Set-AdminAuditLogConfig cmdlet to configure the administrator audit logging configuration
settings.
EXAMPLE 1
This example enables administrator audit logging for every cmdlet and every parameter in the
organization, with the exception of Get cmdlets.
Set-AdminAuditLogConfig -AdminAuditLogEnabled $true -AdminAuditLogCmdlets * –
AdminAuditLogParameters *
C
New-AdminAuditLogSearchUse the New-AdminAuditLogSearch cmdlet to search the contents of the administrator audit log and
send the results to one or more mailboxes that you specify.
For information about the parameter sets in the Syntax section below, see Syntax.
EXAMPLE 1
This example finds all the administrator audit log entries that match the following criteria and sends
the results to the [email protected] and [email protected] SMTP addresses:
Cmdlets Set-Mailbox Parameters UseDatabaseQuotaDefaults, ProhibitSendReceiveQuota,
ProhibitSendQuota StartDate 01/24/2012 EndDate 02/12/2012
New-AdminAuditLogSearch -Name “Mailbox Quota Change Audit” -Cmdlets Set-Mailbox -Parameters
UseDatabaseQuotaDefaults, ProhibitSendReceiveQuota, ProhibitSendQuota -StartDate 01/24/2012 –
EndDate
02/12/2012 -StatusMailRecipients [email protected], [email protected]