From a8295aa8f53bea470be556b0021a154bd28af22c Mon Sep 17 00:00:00 2001 From: Meghana Athavale Date: Fri, 27 Sep 2024 13:16:48 +0530 Subject: [PATCH 1/4] added warning --- .../exchange/Get-IPv6StatusForAcceptedDomain.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md index 8681aa4056..308cb26c56 100644 --- a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md +++ b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md @@ -34,6 +34,11 @@ If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addr 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). +> [!WARNING] +> If you use the Enable/Disable-IPv6ForAcceptedDomain to update the IPv6 setting for an accepted domain, the updated status can take up to one hour to be visible using `Get-IPv6StatusForAcceptedDomain` due to caching. +> +> Example where this may occur: running `Get-IPv6StatusForAcceptedDomain`, finding that the accepted domain’s IPv6 status is Enabled, running `Disable-IPv6ForAcceptedDomain` for that domain, then running `Get-IPv6StatusForAcceptedDomain` again for the same domain. The second use of `Get-IPv6StatusForAcceptedDomain` may erroneously return Enabled for up to one hour, so you may need to wait until after that period has lapsed before seeing the updated status as Disabled. + ## EXAMPLES ### Example 1 @@ -96,10 +101,7 @@ 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 + From 6332cca855a3cc291dd42b923c781ae31db4ec54 Mon Sep 17 00:00:00 2001 From: Meghana Athavale Date: Fri, 27 Sep 2024 13:22:59 +0530 Subject: [PATCH 2/4] self review --- .../exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md index 308cb26c56..a34919a434 100644 --- a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md +++ b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md @@ -35,9 +35,9 @@ If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addr 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). > [!WARNING] -> If you use the Enable/Disable-IPv6ForAcceptedDomain to update the IPv6 setting for an accepted domain, the updated status can take up to one hour to be visible using `Get-IPv6StatusForAcceptedDomain` due to caching. +> If you use Enable/Disable-IPv6ForAcceptedDomain to update the IPv6 setting for an accepted domain, the updated status can take up to an hour to be visible using `Get-IPv6StatusForAcceptedDomain` due to caching. > -> Example where this may occur: running `Get-IPv6StatusForAcceptedDomain`, finding that the accepted domain’s IPv6 status is Enabled, running `Disable-IPv6ForAcceptedDomain` for that domain, then running `Get-IPv6StatusForAcceptedDomain` again for the same domain. The second use of `Get-IPv6StatusForAcceptedDomain` may erroneously return Enabled for up to one hour, so you may need to wait until after that period has lapsed before seeing the updated status as Disabled. +> Example where this may occur: running `Get-IPv6StatusForAcceptedDomain`, finding that the accepted domain’s IPv6 status is Enabled, running `Disable-IPv6ForAcceptedDomain` for that domain, then running `Get-IPv6StatusForAcceptedDomain` again for the same domain. The second use of `Get-IPv6StatusForAcceptedDomain` may erroneously return Enabled for up to an hour, so you may need to wait until after that period has lapsed before seeing the updated status as Disabled. ## EXAMPLES From ec591b9cdfd17584876034b3c7215cc9eb226161 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Fri, 27 Sep 2024 09:42:47 -0700 Subject: [PATCH 3/4] Update Get-IPv6StatusForAcceptedDomain.md --- .../exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md index a34919a434..07f962a932 100644 --- a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md +++ b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md @@ -34,10 +34,10 @@ If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addr 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). -> [!WARNING] -> If you use Enable/Disable-IPv6ForAcceptedDomain to update the IPv6 setting for an accepted domain, the updated status can take up to an hour to be visible using `Get-IPv6StatusForAcceptedDomain` due to caching. +> [!NOTE] +> When you use the Enable-IPv6ForAcceptedDomain or Disable-IPv6ForAcceptedDomain cmdlets to update the IPv6 setting for an accepted domain, the updated status can take up to an hour to be visible using `Get-IPv6StatusForAcceptedDomain` due to caching. > -> Example where this may occur: running `Get-IPv6StatusForAcceptedDomain`, finding that the accepted domain’s IPv6 status is Enabled, running `Disable-IPv6ForAcceptedDomain` for that domain, then running `Get-IPv6StatusForAcceptedDomain` again for the same domain. The second use of `Get-IPv6StatusForAcceptedDomain` may erroneously return Enabled for up to an hour, so you may need to wait until after that period has lapsed before seeing the updated status as Disabled. +> For example, `Get-IPv6StatusForAcceptedDomain` shows the IPv6 status value Enabled for a domain. You run `Disable-IPv6ForAcceptedDomain` to disable IPv6 for the domain, you immediately run `Get-IPv6StatusForAcceptedDomain` to check the IPv6 staus of the domain, and the command erroneously returns the value Enabled for the domain. Wait an hour before you run `Get-IPv6StatusForAcceptedDomain` to check the IPv6 status of the domain again. ## EXAMPLES From 9805c18b19b99b35475bf965aaeab78c292d3159 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Fri, 27 Sep 2024 09:46:58 -0700 Subject: [PATCH 4/4] Update Get-IPv6StatusForAcceptedDomain.md --- .../exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md index 07f962a932..3094e0b25e 100644 --- a/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md +++ b/exchange/exchange-ps/exchange/Get-IPv6StatusForAcceptedDomain.md @@ -35,9 +35,9 @@ If IPv6 is enabled for an accepted domain in Exchange Online, IPv4 and IPv6 addr 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). > [!NOTE] -> When you use the Enable-IPv6ForAcceptedDomain or Disable-IPv6ForAcceptedDomain cmdlets to update the IPv6 setting for an accepted domain, the updated status can take up to an hour to be visible using `Get-IPv6StatusForAcceptedDomain` due to caching. +> When you use the Enable-IPv6ForAcceptedDomain or Disable-IPv6ForAcceptedDomain cmdlets to update the IPv6 setting for an accepted domain, the updated status can take up to an hour to be visible using Get-IPv6StatusForAcceptedDomain due to caching. > -> For example, `Get-IPv6StatusForAcceptedDomain` shows the IPv6 status value Enabled for a domain. You run `Disable-IPv6ForAcceptedDomain` to disable IPv6 for the domain, you immediately run `Get-IPv6StatusForAcceptedDomain` to check the IPv6 staus of the domain, and the command erroneously returns the value Enabled for the domain. Wait an hour before you run `Get-IPv6StatusForAcceptedDomain` to check the IPv6 status of the domain again. +> For example, Get-IPv6StatusForAcceptedDomain shows the status value Enabled for a domain. You run Disable-IPv6ForAcceptedDomain to disable IPv6 for the domain, you immediately run Get-IPv6StatusForAcceptedDomain to check the staus of the domain, and the command erroneously returns the value Enabled. It might take up to an hour before Get-IPv6StatusForAcceptedDomain shows the correct value Disabled for the domain. ## EXAMPLES