From 018b34e320552caf2d4fbff6361918a6eaa652f4 Mon Sep 17 00:00:00 2001 From: "Sergii Mykhailov (from Dev Box)" Date: Fri, 11 Apr 2025 13:46:26 +0200 Subject: [PATCH 1/4] Added note about country code usage in filters. Full country names are not supported in the Management Scope cmdlets. Added this information to the Notes section for New-ManagementScope and Set-ManagementScope cmdlets --- exchange/exchange-ps/exchange/New-ManagementScope.md | 1 + exchange/exchange-ps/exchange/Set-ManagementScope.md | 1 + 2 files changed, 2 insertions(+) diff --git a/exchange/exchange-ps/exchange/New-ManagementScope.md b/exchange/exchange-ps/exchange/New-ManagementScope.md index 30292ebbdd..65c88a9753 100644 --- a/exchange/exchange-ps/exchange/New-ManagementScope.md +++ b/exchange/exchange-ps/exchange/New-ManagementScope.md @@ -406,5 +406,6 @@ To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Ty To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data. ## NOTES +Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. ## RELATED LINKS diff --git a/exchange/exchange-ps/exchange/Set-ManagementScope.md b/exchange/exchange-ps/exchange/Set-ManagementScope.md index 23361eef8f..20b6a8882d 100644 --- a/exchange/exchange-ps/exchange/Set-ManagementScope.md +++ b/exchange/exchange-ps/exchange/Set-ManagementScope.md @@ -314,5 +314,6 @@ To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Ty To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data. ## NOTES +Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. ## RELATED LINKS From afb355493a5ea80518986c1b178d7832189ec19b Mon Sep 17 00:00:00 2001 From: "Sergii Mykhailov (from Dev Box)" Date: Fri, 11 Apr 2025 14:40:10 +0200 Subject: [PATCH 2/4] Removed extra space --- exchange/exchange-ps/exchange/New-ManagementScope.md | 2 +- exchange/exchange-ps/exchange/Set-ManagementScope.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exchange/exchange-ps/exchange/New-ManagementScope.md b/exchange/exchange-ps/exchange/New-ManagementScope.md index 65c88a9753..5601b5c720 100644 --- a/exchange/exchange-ps/exchange/New-ManagementScope.md +++ b/exchange/exchange-ps/exchange/New-ManagementScope.md @@ -406,6 +406,6 @@ To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Ty To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data. ## NOTES -Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. +Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. ## RELATED LINKS diff --git a/exchange/exchange-ps/exchange/Set-ManagementScope.md b/exchange/exchange-ps/exchange/Set-ManagementScope.md index 20b6a8882d..63be2da40a 100644 --- a/exchange/exchange-ps/exchange/Set-ManagementScope.md +++ b/exchange/exchange-ps/exchange/Set-ManagementScope.md @@ -314,6 +314,6 @@ To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Ty To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data. ## NOTES -Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. +Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. ## RELATED LINKS From 6bb95fd2acf0379436e434d3b7449ab876ec663e Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Fri, 11 Apr 2025 11:46:33 -0700 Subject: [PATCH 3/4] Clarify country code usage in filters --- exchange/exchange-ps/exchange/New-ManagementScope.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/exchange-ps/exchange/New-ManagementScope.md b/exchange/exchange-ps/exchange/New-ManagementScope.md index 5601b5c720..c2fcc0e2d9 100644 --- a/exchange/exchange-ps/exchange/New-ManagementScope.md +++ b/exchange/exchange-ps/exchange/New-ManagementScope.md @@ -406,6 +406,6 @@ To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Ty To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data. ## NOTES -Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. +Use two-letter country codes (ISO 3166-1 alpha-2) instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` for France. ## RELATED LINKS From 20b61f526a56f85e2591a7cb04b0b8f3d18dceb5 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Fri, 11 Apr 2025 11:47:15 -0700 Subject: [PATCH 4/4] Clarify country code usage in filters --- exchange/exchange-ps/exchange/Set-ManagementScope.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchange/exchange-ps/exchange/Set-ManagementScope.md b/exchange/exchange-ps/exchange/Set-ManagementScope.md index 63be2da40a..7d84c230ae 100644 --- a/exchange/exchange-ps/exchange/Set-ManagementScope.md +++ b/exchange/exchange-ps/exchange/Set-ManagementScope.md @@ -314,6 +314,6 @@ To see the input types that this cmdlet accepts, see [Cmdlet Input and Output Ty To see the return types, which are also known as output types, that this cmdlet accepts, see [Cmdlet Input and Output Types](https://go.microsoft.com/fwlink/p/?LinkId=616387). If the Output Type field is blank, the cmdlet doesn't return data. ## NOTES -Please ensure that you use the two-letter country code instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` instead of `-RecipientRestrictionFilter "UsageLocation -eq 'France'"`. +Use two-letter country codes (ISO 3166-1 alpha-2) instead of the full country name in filters. For example, use `-RecipientRestrictionFilter "UsageLocation -eq 'FR'"` for France. ## RELATED LINKS