Get SCCM site system servers associated with a boundary groupPowerShell? Do you use it? Can you show me some...
How to create a consistent feel for character names in a fantasy setting?
When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?
COUNT(id) or MAX(id) - which is faster?
Deciding between multiple birth names and dates?
Can a planet have a different gravitational pull depending on its location in orbit around its sun?
Piano - What is the notation for a double stop where both notes in the double stop are different lengths?
Can produce flame be used to grapple, or as an unarmed strike, in the right circumstances?
Crop image to path created in TikZ?
Mapping arrows in commutative diagrams
Pristine Bit Checking
How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)
"listening to me about as much as you're listening to this pole here"
What is the command to reset a PC without deleting any files
Where to refill my bottle in India?
What are the advantages and disadvantages of running one shots compared to campaigns?
Symmetry in quantum mechanics
Are objects structures and/or vice versa?
How to deal with fear of taking dependencies
Synthetic Control Method
What does "enim et" mean?
Need help identifying/translating a plaque in Tangier, Morocco
Is Social Media Science Fiction?
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
Are cabin dividers used to "hide" the flex of the airplane?
Get SCCM site system servers associated with a boundary group
PowerShell? Do you use it? Can you show me some cool system administration things I can do with it?SCCM 2007: I've moved my site database, how do I now delete the old site system?SCCM 2007 Secondary Site Distribution Point Packages Cannot Be FoundExchange 2010 Powershell: Deleting a Mail Contact associated with a userSCCM 2012 AD Admins Group Members of Local Admins Group?Get-ADGroupMember $Group fails when $Group contains principals from other domainsget AD group path in the domain/treeGet local User group members - PowershellSCCM IP range boundaries - the lesser of two evilsHow do I use Get-MailboxFolderPermission with an Office365 Group?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I want to get the site system servers associated with a boundary group in SSCM using Powershell.
There is a commandlet Get-CMDistributionPoint however there is no parameter to specify a boundary group.
powershell sccm
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to get the site system servers associated with a boundary group in SSCM using Powershell.
There is a commandlet Get-CMDistributionPoint however there is no parameter to specify a boundary group.
powershell sccm
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to get the site system servers associated with a boundary group in SSCM using Powershell.
There is a commandlet Get-CMDistributionPoint however there is no parameter to specify a boundary group.
powershell sccm
I want to get the site system servers associated with a boundary group in SSCM using Powershell.
There is a commandlet Get-CMDistributionPoint however there is no parameter to specify a boundary group.
powershell sccm
powershell sccm
asked Feb 20 '17 at 0:38
Backwards_DaveBackwards_Dave
11817
11817
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
That's not supported with the current Powershell commandlets. Have you considered using a custom SSRS report such as https://gallery.technet.microsoft.com/SCCM-2012-SSRS-report-7570a001 instead?
add a comment |
My answer may not be the best but can show what you want:
First, you need to use PowerShell to connect to CM site:
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)..ConfigurationManager.psd1" # Import the ConfigurationManager.psd1 module
Set-Location "CTS:" # Set the current location to be the site code.
Or you can just click below:

Code here to get what you want:
$BoundaryGroup = Get-CMBoundaryGroup -Name 'Test'
Get-WmiObject -Namespace rootsmssite_cts -Class SMS_BoundaryGroupSiteSystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode
Replace Test to your boundary group name. You can output any properties in Select
Attention: You need to run the PowerShell lines on your site server because rootsmssite_cts is a WMI Namespace on your site server (CTS is site code).
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode. I'll edit my answer.
– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I usewhereto filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.
– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f833574%2fget-sccm-site-system-servers-associated-with-a-boundary-group%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
That's not supported with the current Powershell commandlets. Have you considered using a custom SSRS report such as https://gallery.technet.microsoft.com/SCCM-2012-SSRS-report-7570a001 instead?
add a comment |
That's not supported with the current Powershell commandlets. Have you considered using a custom SSRS report such as https://gallery.technet.microsoft.com/SCCM-2012-SSRS-report-7570a001 instead?
add a comment |
That's not supported with the current Powershell commandlets. Have you considered using a custom SSRS report such as https://gallery.technet.microsoft.com/SCCM-2012-SSRS-report-7570a001 instead?
That's not supported with the current Powershell commandlets. Have you considered using a custom SSRS report such as https://gallery.technet.microsoft.com/SCCM-2012-SSRS-report-7570a001 instead?
answered Feb 20 '17 at 6:08
JaeBeeJaeBee
1263
1263
add a comment |
add a comment |
My answer may not be the best but can show what you want:
First, you need to use PowerShell to connect to CM site:
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)..ConfigurationManager.psd1" # Import the ConfigurationManager.psd1 module
Set-Location "CTS:" # Set the current location to be the site code.
Or you can just click below:

Code here to get what you want:
$BoundaryGroup = Get-CMBoundaryGroup -Name 'Test'
Get-WmiObject -Namespace rootsmssite_cts -Class SMS_BoundaryGroupSiteSystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode
Replace Test to your boundary group name. You can output any properties in Select
Attention: You need to run the PowerShell lines on your site server because rootsmssite_cts is a WMI Namespace on your site server (CTS is site code).
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode. I'll edit my answer.
– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I usewhereto filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.
– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
add a comment |
My answer may not be the best but can show what you want:
First, you need to use PowerShell to connect to CM site:
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)..ConfigurationManager.psd1" # Import the ConfigurationManager.psd1 module
Set-Location "CTS:" # Set the current location to be the site code.
Or you can just click below:

Code here to get what you want:
$BoundaryGroup = Get-CMBoundaryGroup -Name 'Test'
Get-WmiObject -Namespace rootsmssite_cts -Class SMS_BoundaryGroupSiteSystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode
Replace Test to your boundary group name. You can output any properties in Select
Attention: You need to run the PowerShell lines on your site server because rootsmssite_cts is a WMI Namespace on your site server (CTS is site code).
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode. I'll edit my answer.
– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I usewhereto filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.
– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
add a comment |
My answer may not be the best but can show what you want:
First, you need to use PowerShell to connect to CM site:
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)..ConfigurationManager.psd1" # Import the ConfigurationManager.psd1 module
Set-Location "CTS:" # Set the current location to be the site code.
Or you can just click below:

Code here to get what you want:
$BoundaryGroup = Get-CMBoundaryGroup -Name 'Test'
Get-WmiObject -Namespace rootsmssite_cts -Class SMS_BoundaryGroupSiteSystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode
Replace Test to your boundary group name. You can output any properties in Select
Attention: You need to run the PowerShell lines on your site server because rootsmssite_cts is a WMI Namespace on your site server (CTS is site code).
My answer may not be the best but can show what you want:
First, you need to use PowerShell to connect to CM site:
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)..ConfigurationManager.psd1" # Import the ConfigurationManager.psd1 module
Set-Location "CTS:" # Set the current location to be the site code.
Or you can just click below:

Code here to get what you want:
$BoundaryGroup = Get-CMBoundaryGroup -Name 'Test'
Get-WmiObject -Namespace rootsmssite_cts -Class SMS_BoundaryGroupSiteSystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode
Replace Test to your boundary group name. You can output any properties in Select
Attention: You need to run the PowerShell lines on your site server because rootsmssite_cts is a WMI Namespace on your site server (CTS is site code).
edited Feb 20 '17 at 7:22
answered Feb 20 '17 at 5:51
Bifeng Dong - MSFTBifeng Dong - MSFT
26614
26614
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode. I'll edit my answer.
– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I usewhereto filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.
– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
add a comment |
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode. I'll edit my answer.
– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I usewhereto filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.
– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
I get an invalid namespace error even though I put in the correct site code.
– Backwards_Dave
Feb 20 '17 at 6:30
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:
Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode . I'll edit my answer.– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
the WMI namespace rootsmssite_<sitecode> is on your site server, thus you need to run the PowerShell commands on your site sierver. Or you can make a remote session by add -Computername. For example:
Get-WmiObject -ComputerName CAS -Namespace rootsmssite_cts -Class sms_boundarygroupsitesystems | where {$_.groupid -eq $boundarygroup.GroupID} | select servernalpath, sitecode . I'll edit my answer.– Bifeng Dong - MSFT
Feb 20 '17 at 7:11
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Unfortunately I get RPC server unavailable.
– Backwards_Dave
Feb 21 '17 at 0:42
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I use
where to filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Basically, the PowerShell command is querying Server WMI Class link SMS_BoundaryGroupSiteSystems.. I use
where to filter the specific boundary group you need. Run the lines on your Primary Site Server, replace the site code, it will certainly work.– Bifeng Dong - MSFT
Feb 21 '17 at 1:40
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
Have you got it worked? Any help needed on this?
– Bifeng Dong - MSFT
Feb 26 '17 at 14:09
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f833574%2fget-sccm-site-system-servers-associated-with-a-boundary-group%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown