Skip to main content

Using the “new” Command Group

This documentation was last updated on 10/26/23 by Chris Thompson (@_Mayyhem). Please refer to the output of the --help option for each command for the most up-to-date usage information.

Description

A group of commands that create new objects by contacting an SMS Provider via WMI

Usage

Subcommands


new application

Description

Create an application by contacting an SMS Provider via WMI

Requirements

Permitted security roles:
  • Full Administrator
  • Application Administrator
  • Application Author
  • Operations Administrator

Usage

Examples

Create a new hidden application with the name app01 that launches calc.exe:

new collection

Description

Create a collection of devices or users by contacting an SMS Provider via WMI

Requirements

Permitted security roles:
  • Full Administrator
  • Application Administrator
  • Infrastructure Administrator
  • Operations Administrator
  • Security Administrator

Usage

Examples

Create a new device collection named “devicecollection”:

new collection-member

Description

Add a device to a collection by contacting and SMS Provider via WMI

Requirements

Permitted security roles:
  • Full Administrator
  • Application Administrator
  • Infrastructure Administrator
  • Operations Administrator
  • Security Administrator

Usage

Examples

Add the CAVE-JOHNSON-PC device to the devicecollection device collection:

new deployment

Description

Create an assignment to deploy an application to a collection by contacting an SMS Provider via WMI

Requirements

Permitted security roles:
  • Full Administrator
  • Application Administrator
  • Application Deployment Manager
  • Operations Administrator

Usage

Examples

Create a new deployment of the app01 application to the DEVICES collection:

new device

Description

Create a new device record and obtain a reusable certificate for subsequent requests (experimental)

Requirements

PKI certificates are not required for client authentication (default)

Usage

Examples

Using known computer account credentials, create a new device record named “NEWDEVICE” and a corresponding reusable self-signed certificate that allows secret policy retrieval: