How To Get Computer Serial Number Using CMD Line in Windows

This uses WMIC to access your BIOS information where the Serial Number should be present, at least for major brand servers like Dell, HP, and IBM.

I have run this on refurbished HP servers where this information was not entered. Luckily, this was found while it was still on my workbench and I was able to enter the serial number into the BIOS before deploying it out to a remote location.

Open CMD prompt



wmic bios get serialnumber

C:\wmic bios get serialnumber

C:\wmic bios get serialnumber


{your serial number should display here}

Help Desk Ticketing System Plus Network Inventory

In a previous position, one of the first projects I was asked to take on as the new System Administrator was a ticketing system that had exceptional reporting on the backend. As a SysAdmin coming into a new environment with little to no documentation, I needed something to scan the network to help me get a better understanding of what was on it.

I installed Spiceworks on an available server and I was off. In less than an hour, I had a fully functional ticketing system deployed and in use along with custom reporting and the network scan started. Although I’m no longer with that company, I am still an active member in the SpiceWorks community. So, even though you may decide not to use SpiceWorks, consider joining the community to connect with other IT professionals.

Try it for yourself. Download Now


Shutdown or Restart a workstation on your network Remotely

There are a number of ways that you can restart or shutdown remote

I’m going to show you a real quick trick using the command prompt.


you to have an administrator account on the computer you want to shut
shutdown -m \\computername -s

Lets break it down:
1. The shutdown command gets the ball rolling
2. -m \\computername should be the name of the computer you want to shutdown.
3. -s tells the remote computer to Shutdown.
1. -r tells the remote computer to Restart
2. -l tells the remote computer to logoff
There are a number of other arguments you can use.

Method 2: Shortcuts
This method uses the same “shutdown” command as above. The only difference is that we put the command
into a shortcut so that we can launch it quickly.
Right click on your desktop
Select “New”
Select “Shortcut”
In the path put in:
shutdown -m \\computername -s
Call it whatever you want and change the icon if you would like.
Now you have a shortcut that when it is launched will shutdown the remote computer. How easy is that!

Method 3: Windows Tools
The “shutdown” command we have been looking at above has a
graphical front end with a few nice features in it. If you have multiple
computers you want to shut down, this may be a good option for you.
To get into it, open a command prompt and type “shutdown -i”
The graphical front-end will open up.
In here, you will see the same options available to you as the manual
methods above, but this time you can list or browse multiple
computers on your network and do bulk shutdowns or restarts.
It is fairly self explanatory, so I won’t go into it much more. It isn’t all
that powerful. Check out another utility below.
This method requires you to put in a reason as to why you are
restarting/shutting down. It’s a real pain.


Exited to Command Line in Hyper-V Server 2012 and want to get back to your blue screen

Yes, this is remedial but it will be useful to someone. 🙂

As you start working with Windows Hyper-V Server 2012 for the first time, you will do something and may not know how to “undo” what you just did.

For instance, one of the options is option 14) Exit to Command Line.

Click To View Larger

Click To View Larger


This does what you want it to; it takes you to the command prompt.


Click To View Larger

Click To View Larger


Now, you want to get back to that blue screen but you don’t know how.

Just type in this:


This takes you back to that blue screen.

Click To View Larger

Click To View Larger


The blue screen is actually what’s called the Server Configuration tool (Sconfig.cmd) and it’s used to configure and manage several common aspects of Server Core installations.

Read more about the Sconfig.cmd tool HERE.