Skip to content

Platform script naming convention

PowerShell or shell script that runs once per device.

The pattern

Platform - Policy type - Purpose - Version

MAC-SCRIPT-InstallRosetta-v1

28 of 64 characters for a policy or profile

What each part means

PartHereWhat it saysOther values
PlatformMACThe operating system.WIN, IOS, AND, LNX, WEB
Policy typeSCRIPTThe kind of policy or profile.CONF, COMP, SEC, APP, UPD
PurposeInstallRosettaWhat the item does, in your own words.free text
Versionv1A version, for items that are replaced step by step.free text

Parts are joined with “-”. In the builder you can change every value, the separator and the order, add parts and remove them.

When to use it

For PowerShell scripts on Windows and shell scripts on macOS and Linux that run once per device or user.

  • Say what the script does, not how: MapNetworkDrives, not NetUseScript.
  • A new version is a new script in Intune, so the version in the name tells the two apart.

More names in this pattern

  • MAC-SCRIPT-InstallRosetta-v1
  • WIN-SCRIPT-MapNetworkDrives-v1
  • MAC-SCRIPT-SetDockItems-v2
  • LNX-SCRIPT-InstallAgent-v1