Configuration Manager 2012 Linux Client Command Line Syntax

Some command line syntax that will help you navigate working with the ConfigMgr Linux client more easily

Return the client version

/opt/microsoft/configmgr/bin/ccmexec –v

Force a policy refresh*

/opt/microsoft/configmgr/bin/ccmexec –rs policy

The Linux client has no concept of user policy, so this refresh is machine policy only!

Force hardware inventory to run immediately

/opt/microsoft/configmgr/bin/ccmexec –rs hinv

Force software inventory to run immediately

/opt/microsoft/configmgr/bin/ccmexec –rs sinv

Tail the ConfigMgr Linux Client Log

Tail is a command in Linux that print the last 10 lines of the specified file to standard output, allowing you to easily see the latest additions to the ConfigMgr Linux client log on a managed system.

tail –f /var/opt/microsoft/scxcm.log

Query Inventory (from the command line)

To view inventory data on the client directly, you use nwcli utility to query the OMI equivalent of the WMI database. The following example returns details of the SCXCM_ComputerSystem class.

/opt/microsoft/nanowbem/bin/nwcli ei root/cimv2 SCXCM_ComputerSystem

Uninstall the Client



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s