Skip to content

IPv6-chrisda to Main #12114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 105 additions & 0 deletions exchange/exchange-ps/exchange/Disable-IPv6ForAcceptedDomain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
external help file:
online version: https://learn.microsoft.com/powershell/module/exchange/disable-ipv6foraccepteddomain
applicable: Exchange Online
title: Disable-IPv6ForAcceptedDomain
schema: 2.0.0
author: chrisda
ms.author: chrisda
ms.reviewer:
---

# Disable-IPv6ForAcceptedDomain

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

Use the Disable-IPv6ForAcceptedDomain cmdlet to disable or opt-out of support for mail delivery to accepted domains in Exchange Online using IPv6.

For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

## SYNTAX

```
Disable-IPv6ForAcceptedDomain [[-Domain] <String>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
```

## DESCRIPTION
Use the Get-AcceptedDomain cmdlet to return accepted domains in the Exchange Online organization to use with this cmdlet.

If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addresses are returned in DNS queries for mail flow records of the domain. If IPv6 is disabled, only IPv4 addresses are returned in DNS queries for mail flow records of the domain.

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).

## EXAMPLES

### Example 1
```powershell
Disable-IPv6ForAcceptedDomain -Domain contoso.com
```

This example disables IPv6 support for mail sent to contoso.com. Mail can be delivered to the domain using IPv4 only.

## PARAMETERS

### -Domain
The Domain parameter specifies the accepted domain that you want to disable mail delivery using IPv6 for.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Applicable: Exchange Online

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Applicable: Exchange Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Applicable: Exchange Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
105 changes: 105 additions & 0 deletions exchange/exchange-ps/exchange/Enable-IPv6ForAcceptedDomain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
external help file:
online version: https://learn.microsoft.com/powershell/module/exchange/enable-ipv6foraccepteddomain
applicable: Exchange Online
title: Enable-IPv6ForAcceptedDomain
schema: 2.0.0
author: chrisda
ms.author: chrisda
ms.reviewer:
---

# Enable-IPv6ForAcceptedDomain

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

Use the Enable-IPv6ForAcceptedDomain cmdlet to enable support for mail delivery to accepted domains in Exchange Online using IPv6.

For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

## SYNTAX

```
Enable-IPv6ForAcceptedDomain [[-Domain] <String>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
```

## DESCRIPTION
Use the Get-AcceptedDomain cmdlet to return accepted domains in the Exchange Online organization to use with this cmdlet

If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addresses are returned in DNS queries for mail flow records of the domain. If IPv6 is disabled, only IPv4 addresses are returned in DNS queries for mail flow records of the domain.

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).

## EXAMPLES

### Example 1
```powershell
Enable-IPv6ForAcceptedDomain -Domain contoso.com
```

This example enables IPv6 support for mail sent to contoso.com. Mail can be delivered to the domain using IPv4 or IPv6.

## PARAMETERS

### -Domain
The Domain parameter specifies the accepted domain that you want to enable mail delivery using IPv6 for.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Applicable: Exchange Online

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Applicable: Exchange Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Applicable: Exchange Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
105 changes: 105 additions & 0 deletions exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
external help file:
online version: https://learn.microsoft.com/powershell/module/exchange/get-ipv6statusforaccepteddomain
applicable: Exchange Online
title: Get-IPv6StatusForAcceptedDomain
schema: 2.0.0
author: chrisda
ms.author: chrisda
ms.reviewer:
---

# Get-IPv6StatusForAcceptedDomain

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

Use the Get-IPv6StatusForAcceptedDomain cmdlet to view the status of support for mail delivery to accepted domains in Exchange Online using IPv6.

For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

## SYNTAX

```
Get-IPv6StatusForAcceptedDomain [[-Domain] <String>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
```

## DESCRIPTION
Use the Get-AcceptedDomain cmdlet to return accepted domains in the Exchange Online organization to use with this cmdlet

If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addresses are returned in DNS queries for mail flow records of the domain. If IPv6 is disabled, only IPv4 addresses are returned in DNS queries for mail flow records of the domain.

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).

## EXAMPLES

### Example 1
```powershell
Get-IPv6StatusForAcceptedDomain -Domain contoso.com
```

This example returns the status of IPv6 support for mail sent to contoso.com.

## PARAMETERS

### -Domain
The Domain parameter specifies the accepted domain that you want to view IPv6 status for.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Applicable: Exchange Online

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Confirm
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Applicable: Exchange Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -WhatIf
This parameter is reserved for internal Microsoft use.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Applicable: Exchange Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS
6 changes: 6 additions & 0 deletions exchange/exchange-ps/exchange/exchange.md
Original file line number Diff line number Diff line change
Expand Up @@ -1300,12 +1300,16 @@ Exchange PowerShell is built on Windows PowerShell technology and provides a pow

### [Disable-DnssecForVerifiedDomain](Disable-DnssecForVerifiedDomain.md)

### [Disable-IPv6ForAcceptedDomain](Disable-IPv6ForAcceptedDomain.md)

### [Disable-SmtpDaneInbound](Disable-SmtpDaneInbound.md)

### [Disable-TransportAgent](Disable-TransportAgent.md)

### [Enable-DnssecForVerifiedDomain](Enable-DnssecForVerifiedDomain.md)

### [Enable-IPv6ForAcceptedDomain](Enable-IPv6ForAcceptedDomain.md)

### [Enable-SmtpDaneInbound](Enable-SmtpDaneInbound.md)

### [Enable-TransportAgent](Enable-TransportAgent.md)
Expand All @@ -1330,6 +1334,8 @@ Exchange PowerShell is built on Windows PowerShell technology and provides a pow

### [Get-InboundConnector](Get-InboundConnector.md)

### [Get-IPv6StatusForAcceptedDomain](Get-IPv6StatusForAcceptedDomain.md)

### [Get-MailboxTransportService](Get-MailboxTransportService.md)

### [Get-Message](Get-Message.md)
Expand Down
3 changes: 3 additions & 0 deletions exchange/mapping/serviceMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,9 +634,11 @@
"Undo-SoftDeletedMailbox": "mailboxes",
"Add-ResubmitRequest": "mail-flow",
"Disable-DnssecForVerifiedDomain": "mail-flow",
"Disable-IPv6ForAcceptedDomain": "mail-flow",
"Disable-SmtpDaneInbound": "mail-flow",
"Disable-TransportAgent": "mail-flow",
"Enable-DnssecForVerifiedDomain": "mail-flow",
"Enable-IPv6ForAcceptedDomain": "mail-flow",
"Enable-SmtpDaneInbound": "mail-flow",
"Enable-TransportAgent": "mail-flow",
"Export-Message": "mail-flow",
Expand All @@ -649,6 +651,7 @@
"Get-ForeignConnector": "mail-flow",
"Get-FrontendTransportService": "mail-flow",
"Get-InboundConnector": "mail-flow",
"Get-IPv6StatusForAcceptedDomain": "mail-flow",
"Get-MailboxTransportService": "mail-flow",
"Get-Message": "mail-flow",
"Get-MessageTrace": "mail-flow",
Expand Down