Windows Command List

List of random windows commands i’ve come across that have been useful. hopefully powershell will replace all of them! If you know of any cool ones please share them.

  • Query – allows you to query info on Process/session/termserver/user
  • Qwinsta/Rwinsta -Query/Remove RDP session
  • Schtasks – Manage scheduled tasks


A full list can be downloaded from Microsoft

once you download it right click on it, do properties and unblock.

  1. I always found the tree command interesting, and I am sure PowerShell could turn it some very interesting data.

  2. That actually came up the other day in the forums

    Voodoomsr has a good way to do this with objects, which could easily be converted to do it with a GCI

    function ExploreRec{
    param([int]$lvl, $object, $pref)

    if($lvl -eq 0){return}
    if($object -isnot [System.Type]){
    $object = $object.gettype()
    $object.getproperties()| % { $pref+$_.Name; ExploreRec $lvl $_.PropertyType $pref}


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: