Some command line syntax that will help you navigate working with the ConfigMgr Linux client more easily
Return the client version
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