Important Command lines for Device Management and SOE

In this blog I will be sharing few command lines which can be executed to launch several utilities in an easy and efficient way.

Check System Model using WMI Query

Open Command prompt and run:

Wmic csproduct get name

We can look for other columns as well by running:

Wmic csproduct

Lets format in a neat and clean way for better view:

Wmic csproduct get /format:list

Check UUID using WMI Query

 Select * from Win32_ComputerSystemproduct

Check list of Updates installed

wmic qfe
wmic qfe >> hotfix.txt (to generate text file)

Get Bios Info using WMI Query

Wmic bios get /format:list

Open Configuration manager Properties

Control smscfgrc

Open Software Center

Launch scclient.exe which is located under c:\windows\ccm.



Launch SCCM console with different user

“runas.exe /env /user:domain\admin “C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.exe” “”

Similar example for launch command prompt

Runas /user:domain\username cmd

Open System Properties

Control system

(This command is equivalent to: right click “This PC” and selecting properties)

This command few of the most important info such as  Computername,RAM, “Windows Activation” status

Launch Network connections


Check Windows version


Launch System Information


This will launch all system information including Hardware resources, Components, Software Environment. You can look for OS Info, RAM, System info etc.

Check ADSite system is reporting to

Nltest /dsgetsite

Launch: Remote Asistance Assistance


Launch cmd prompt in elevated mode

"powershell start-process cmd -verb runas"

Generate Battery Health Report

Powercfg /batteryreport

(Generates battery-report.html)

This report will show installed batteries, Battery Usage, Usage History, Battery capacity History and Battery life estimates

Traceroute the System/Server’s FQDN or any web url

Tracert servername

(This is inbuilt network tool on windows OS which shows path, time and hops it took to reach the destination)

Generate Group Policy Results

Gpresult /scope computer /h c:\temp\gpresult.html

This will generate the group policy result for computer account in html format

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: