Skip to main content

 

Cisco Meraki Documentation

How to Use the Command Line Live Tool in Systems Manager

Overview

This article explains how to use the Command Line Live Tool in Cisco Meraki Systems Manager to run commands on Windows and Mac devices. Administrators can run commands on one or multiple machines at the same time. 

The tool suits administrators who want to run quick, on-demand batch operations. Run more complex, longer-running tasks through a directory service such as Active Directory or Open Directory instead. 

Output from a command appears under the Command Text Box. 

This is a technology preview version of the Meraki Systems Manager Command Line. Use it at your own risk. 

Prerequisites

The following features are disabled by default to protect user privacy: 

  • Remote Desktop 
  • Silent Remote Desktop 
  • Screenshot 
  • Command Line 

To enable a feature, remove it from the Systems Manager > General > Feature Restrictions list. Enabling or disabling these features creates an entry in the network change log. 

Step-by-step instructions

You can access the Command Line tool from two locations: 

  1. Open the Device Details page and select the tool under MDM commands. 

— or —

  1. Go to Systems Manager > Monitor > Command line. 

To run commands: 

  1. On the Command line page, use the links at the top of the page to toggle all Windows or Mac machines. 

  1. Enter your command in the Command Text Box. 

  1. Run the command on one or multiple machines at the same time. 

  1. Review the output displayed under the Command Text Box. 

Verification

Confirm that the command ran successfully by reviewing the output displayed under the Command Text Box. 

Troubleshooting

Review the following platform-specific behavior: 

  • On Windows, commands run as Local System in *C:\WINDOWS\System32*, and every command is prefixed by "cmd.exe /C". 
  • On macOS, commands run as root in /. 
  • Commands are intended for short tasks and time out after 45 seconds. 

Enabling or disabling the privacy-related features creates an entry in the network change log. 

  • Was this article helpful?