https://www.petervanderwoude.nl/post/get-the-folder-location-of-an-object-in-configmgr-2012-via-powershell/
Get the folder location of an object in ConfigMgr 2012 via PowerShell