Documentation forNetwork Configuration Manager

Custom macros (variables) in NCM

A custom macro is a variable with a global value. You can use custom macros in scripts or jobs, and they can also be used for a property that applies across all managed nodes.

Access custom macros

  1. Click Settings > All Settings.
  2. Under Product Specific Settings, click NCM Settings.
  3. Under Advanced, click Manage Macros.

Create a custom macro

  1. Click Add New.
  2. Enter a name and value for the new macro.

    Example: You want to define a macro to track devices that were provisioned in a certain location on a certain date. Enter a name to identify the macro, and then enter a value to identify the location and date:

    • Macro Name: ProvisionedAustin1
    • Macro Value: Austin 6/10/2019
  3. Click Submit.

Edit a custom macro

You can change the value of the macro, but not the name.

  1. Select the macro.
  2. Click Edit.
  3. Modify the value of the macro.
  4. Click Submit.

Delete a custom macro

  1. Select the macro.
  2. Click Delete.