SCCM High-Level Infrastructure diagram generator for Visio 2016 for visually documenting your SCCM hierarchy with no effort.
For usage details see blog post for more info: https://jrudlin.github.io/2018/09/08/automatically-document-your-sccm-infrastructure-with-a-visio-diagram-using-powershell/