From 1a692f66a80eff2e63cbe0e8ca2cda264eab456a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20D=C3=B6serich?= Date: Tue, 24 Sep 2024 17:13:48 +0200 Subject: [PATCH] Update Get-CMBoundaryGroup.md --- sccm-ps/ConfigurationManager/Get-CMBoundaryGroup.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sccm-ps/ConfigurationManager/Get-CMBoundaryGroup.md b/sccm-ps/ConfigurationManager/Get-CMBoundaryGroup.md index 2a434e84..410a3f2b 100644 --- a/sccm-ps/ConfigurationManager/Get-CMBoundaryGroup.md +++ b/sccm-ps/ConfigurationManager/Get-CMBoundaryGroup.md @@ -53,6 +53,18 @@ This command gets multiple boundary groups that are specified by the identifiers Get-CMBoundaryGroup -Id 5,6 ``` +### Example 3: Show all Boundary Groups and their Settings: + +This command shows all Boundary Groups and their configured settings. + +```powershell +Get-CMBoundaryGroup | Format-Table Name, GroupID, ` + @{ N = "AllowPeerDownloads"; E = { -not ($_.Flags -band 1) } }, ` + @{ N = "SubnetOnly"; E = { ($_.Flags -band 2) -eq 2 } }, ` + @{ N = "PreferDistributionPoint"; E = { ($_.Flags -band 4) -eq 4 } }, ` + @{ N = "PreferCloud"; E = { ($_.Flags -band 8) -eq 8 } } +``` + ## PARAMETERS ### -DisableWildcardHandling