Tuesday, August 3, 2010

SCCM Boundary Health Tool

I am currently working on a moderately large SCCM deployment for a customer and we needed to check the state of the SCCM boundaries in AD.  This was a mammoth  task, with over AD 200 sites and 10 domains.
I have written a tool that will check the health of the SCCM boundary configuration:
  • Overlapping boundaries (will check AD site with IP range, etc)
  • Unassigned AD site boundaries
  • AD site boundaries in SCCM that no longer exist in the AD
If you think that this would be useful, I have made the files available here:
SccmBoundaryHealth-x64
SccmBoundaryHealth-x86

The tools require the .Net Framework v4 to be installed.
You can alter the verbosity of the tool by altering the debuglevel parameter in the .config file.  Valid values are 1-4 (4 being most verbose).
image

image

6 comments:

  1. Very helpful tool...thanks for sharing.

    ReplyDelete
  2. When i run this tool against our network it seems to scan every domain for the System Management container and fails on one of our domains due to my permission set on that domain. I do have permissions on the domain that has SCCM installed. Is there a way to limit this tool to only look at one domain?

    ReplyDelete
  3. Hi, thanks for the comment. You can use the -forest parameter to specify a different forest but there is currently no way of excluding a specific domain. If I can find the source code - :) - then I will add in a capability to warn and continue for permission errors.

    ReplyDelete
  4. Thanks Matt. This tool looks to be exactly what i'm looking for however the domain that's giving me the error is within the same forest as the domain which does have SCCM installed. So it would be a great feature to have the ability to add a parameter which tells the tool to only run on a certain domain. So in addition to the -forest switch if there was a -domain switch that would be great. Thanks a lot for your time on this. I wish i had the rights on the forest to see it run.

    ReplyDelete
  5. I have had to decompile the exe using reflector. This means the code needs a tidy up before it can be re-released.

    I have nearly finished it and hope to release it in the next couple of days.

    Can you please let me know the exception type that was thrown when you got the error? Thanks.

    ReplyDelete
  6. I'm getting a StackOverflowException error. Does that answer your question?

    ReplyDelete