James's profileJames FinniganPhotosBlogListsMore Tools Help
    August 24

    Command-Line tool - wmic

    WMI is a really cool service that gives access to just about anything that you might want to know about a machine.  Being a bit of a scripter (I'm lazy - or efficient, however you want to say it), I think this is a tool worth learning.  Want to see the running processes?  Run tlist, qprocess, or just use wmic - it can do that, and more.

    Lists the current processes:
    wmic process list brief

    Lists the current processor(s):
    wmic cpu list brief

    Lists the bootable OS(s):
    wmic os list brief

    Lists the volumes:
    wmic volume list brief

    Lists the event log information
    wmic nteventlog list brief

    Don't have netdom.exe handy?  You can use wmic to join a domain/workgroup from the command-line.
    wmic computersystem CALL joindomainorworkgroup name='NewNameOfWorkgroup' ...

    You can type wmic /? to see what else is available

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks (1)

    The trackback URL for this entry is:
    http://jamesfinnigan.spaces.live.com/blog/cns!9062539B2F0077D6!432.trak
    Weblogs that reference this entry