CmdID

CmdID / PowerShell / Cmdlets / Set

Set-MailboxJunkEmailConfiguration

Use the Set-MailboxJunkEmailConfiguration cmdlet to configure the junk email settings on mailboxes. Exchange PowerShell reference

From the Exchange PowerShell reference 13 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

13 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the mailbox that you want to modify.
-BlockedSendersAndDomainsThe BlockedSendersAndDomains parameter specifies the Blocked Senders list, which is a list of sender email addresses and domains whose messages are automatically sent to the Junk Email folder.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-ContactsTrustedThe ContactsTrusted parameter specifies whether the contacts in the Contacts folder are treated as trusted senders.
-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.
-EnabledThe Enabled parameter enables or disables the junk email rule on the mailbox (a hidden Inbox rule named Junk E-mail Rule).
-FailOnError
-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.
-SenderScreeningEnabled
-TrustedListsOnlyThe TrustedListsOnly parameter specifies that only messages from senders in the Safe Senders list are delivered to the Inbox.
-TrustedRecipientsAndDomainsThis parameter is reserved for internal Microsoft use.
-TrustedSendersAndDomainsThe TrustedSendersAndDomains parameter specifies the Safe Senders list and Safe Recipients list, which are lists of email addresses and domains.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.