|
| 1 | +--- |
| 2 | +external help file: Microsoft.Exchange.ServerStatus-Help.xml |
| 3 | +online version: https://learn.microsoft.com/powershell/module/exchange/enable-dnssecforverifieddomain |
| 4 | +applicable: Exchange Online |
| 5 | +title: Enable-DnssecForVerifiedDomain |
| 6 | +schema: 2.0.0 |
| 7 | +author: chrisda |
| 8 | +ms.author: chrisda |
| 9 | +ms.reviewer: |
| 10 | +--- |
| 11 | + |
| 12 | +# Enable-DnssecForVerifiedDomain |
| 13 | + |
| 14 | +## SYNOPSIS |
| 15 | +This cmdlet is available only in the cloud-based service. |
| 16 | + |
| 17 | +**Note**: This cmdlet and the associated features are currently in Preview, aren't available in all organizations, and are subject to change. |
| 18 | + |
| 19 | +Use the Enable-DnssecForVerifiedDomain cmdlet to enable Domain Name System Security (DNSSEC) for inbound mail to accepted domains in Exchange Online. |
| 20 | + |
| 21 | +For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax). |
| 22 | + |
| 23 | +## SYNTAX |
| 24 | + |
| 25 | +``` |
| 26 | +Enable-DnssecForVerifiedDomain [-DomainName] <String> |
| 27 | + [-Confirm] |
| 28 | + [-WhatIf] |
| 29 | + [<CommonParameters>] |
| 30 | +``` |
| 31 | + |
| 32 | +## DESCRIPTION |
| 33 | +The output of this cmdlet is an MX record value that you need to add to DNS for the specified domain. |
| 34 | + |
| 35 | +For more information about debugging, enabling, and disabling SMTP DANE with DNSSEC, see [How SMTP DANE works](https://learn.microsoft.com/purview/how-smtp-dane-works). |
| 36 | + |
| 37 | +You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions). |
| 38 | + |
| 39 | +## EXAMPLES |
| 40 | + |
| 41 | +### Example 1 |
| 42 | +```powershell |
| 43 | +Enable-DnssecForVerifiedDomain -DomainName contoso.com |
| 44 | +``` |
| 45 | + |
| 46 | +This example enables DNSSEC for mail sent to contoso.com. |
| 47 | + |
| 48 | +## PARAMETERS |
| 49 | + |
| 50 | +### -DomainName |
| 51 | +The DomainName parameter specifies the accepted domain in the Exchange Online organization where you want to enable DNSSEC (for example, contoso.com). Use the Get-AcceptedDomain cmdlet to see the accepted domains in the organization. |
| 52 | + |
| 53 | +```yaml |
| 54 | +Type: String |
| 55 | +Parameter Sets: (All) |
| 56 | +Aliases: |
| 57 | +Applicable: Exchange Online |
| 58 | + |
| 59 | +Required: True |
| 60 | +Position: 1 |
| 61 | +Default value: None |
| 62 | +Accept pipeline input: False |
| 63 | +Accept wildcard characters: False |
| 64 | +``` |
| 65 | +
|
| 66 | +### -Confirm |
| 67 | +The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding. |
| 68 | +
|
| 69 | +- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: -Confirm:$false. |
| 70 | +- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding. |
| 71 | +
|
| 72 | +```yaml |
| 73 | +Type: SwitchParameter |
| 74 | +Parameter Sets: (All) |
| 75 | +Aliases: cf |
| 76 | +Applicable: Exchange Online |
| 77 | + |
| 78 | +Required: False |
| 79 | +Position: Named |
| 80 | +Default value: None |
| 81 | +Accept pipeline input: False |
| 82 | +Accept wildcard characters: False |
| 83 | +``` |
| 84 | +
|
| 85 | +### -WhatIf |
| 86 | +The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch. |
| 87 | +
|
| 88 | +```yaml |
| 89 | +Type: SwitchParameter |
| 90 | +Parameter Sets: (All) |
| 91 | +Aliases: wi |
| 92 | +Applicable: Exchange Online |
| 93 | + |
| 94 | +Required: False |
| 95 | +Position: Named |
| 96 | +Default value: None |
| 97 | +Accept pipeline input: False |
| 98 | +Accept wildcard characters: False |
| 99 | +``` |
| 100 | +
|
| 101 | +### CommonParameters |
| 102 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/p/?LinkID=113216). |
| 103 | +
|
| 104 | +## INPUTS |
| 105 | +
|
| 106 | +## OUTPUTS |
| 107 | +
|
| 108 | +## NOTES |
| 109 | +
|
| 110 | +## RELATED LINKS |
0 commit comments