A shell script can be executed in Mac OS X using the Software Distribution feature of Parallels Mac Management for SCCM. Detailed instruction about using the Software Distribution feature can be found in the Software Distribution section of the Parallels Mac Management for Microsoft SCCM 2012 administrator’s guides.
To run a script on a Mac:
Create a script file according to your needs and copy it to a directory on a Configuration Manager site server.
When creating a software distribution package, specify the name and path of the folder containing the script file as the Source folder parameter:
Figure 1. Source folder in Create Package and Program Wizard in Microsoft SCCM 2012
Specify the following command as the Command line parameter:
Figure 2. Command line in Create Package and Program Wizard in Microsoft SCCM 2012