In this article:
Get SCCM FolderID - Script.
Get SCCM FolderID - Script
A filled in form should be displayed similar to the image below:
Open cmd.exe and read out the ID as shown in the red box below.