Some handy little commands: The last device that woke the system: powercfg –lastwake To find out which devices are enabled to wake up the PC, enter this command: powercfg -devicequery wake_armed Also, the scheduled task to put the computer to sleep: rundll32.exe powrprof.dll,SetSuspendState Sleep
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”
Probably doesnt deserve it’s own post, but anyway: c:\>systeminfo Pretty useful.
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 »
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 »
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 »
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 »
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 »