Tag Archives: CMD

Installing Telnet with a Quick Command

Whilst trying to diagnose some connection issues, I tried Telnet, only to discover it wasn’t installed. This little code snippet was a very quick way to get it installed: pkgmgr /iu:”TelnetClient”

Retrieving System Information from the Command Line

Probably doesnt deserve it’s own post, but anyway: c:\>systeminfo Pretty useful.

Create a windows service from the command line

This is pretty useful to know: sc create ServiceName binpath= c:\progra~1\folder\file.exe If you get “[SC] Createservice Success” then you’ve got it right You can then go into services.msc and set it to autostart and start it if you like. PS, …

Read more »

Configuring disk partitions from the command line

Yet another command line post. Basically, after configuring the Raid array on my DL380 G5, running Hyper-V I needed to create the data drive to hold all the VHD’s. From the command prompt, typing: C:\>d: Gave the error: The device …

Read more »

Listing available drives from the Command Prompt

This came in handy just now. Run this command from the command line to list the available drives on a machine: c:\>fsutil fsinfo drives Very useful when working on my Hyper-V box. Also note: Show the type of drive: c:\>fsutil …

Read more »

Simple Command Line Tricks

I use cmd.exe quite a bit every day and have never really bothered looking into to making this experience a bit more pleasurable. When I think about it, the window is a bit small, I kinda wish it kept a …

Read more »

How to Uninstall a program for the command line

Today I was trying to remove some software from a Hyper-V Server 2008 R2 box, and obviously it has no nice little Add/Remove Programs GUI to use. It can still be done however. First, call ‘MWIC’ from the command line. …

Read more »