Tag: command line

Find a machine serial number from command line

The Windows Management Instrumentation Command-line (WMIC) is a command-line and scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed through WMI.

Continue reading

How to check when my Windows machine booted up.

The Command Prompt will display the exact time and date that the PC was last booted. It can take the console up to a minute to find this information, so be patient if it seems like it’s taking a while.

Continue reading

Setting a system environment variable from command line in Windows Server 2012 R2

setx utility – Creates or modifies environment variables in the user or system environment. Can set variables based on arguments, regkeys or file input.

Continue reading