Check disk space on a remote computer quickly with PsInfo

Oops! We’ve moved. Do visit us at our new home at http://technicalmeltdown.net

Here’s a direct link to this article.

http://technicalmeltdown.net/2010/08/14/check-disk-space-on-a-remote-computer-quickly-with-psinfo/

16 Comments

Filed under Tools

16 responses to “Check disk space on a remote computer quickly with PsInfo

  1. Milind

    Hi Milind, Thanks for the Info, Is there any way we can move the details to an excel sheet

    • Hi Milind,

      Yes. Your can use the -c switch and pipe the output to a csv file like below.

      psinfo -d -c \\computername > c:\psinfo.csv

      This file can be imported or opened with excel.
      If you’re looking for something a little more detailed, I’d recommend using wmi queries.

  2. a12jun

    you should change your font to non-italic for the psinfo command example – the “\” look like “|” !

  3. sai

    Hi,
    I downloaded the pstools sw , and placed under c drive in my local computer.
    I opened cmd prompt in my local computer , and trying to run cmd as “psinfo -d|\|gudiboin” ( where gudiboin1 is my computer name). But am getting a error like “The filename, directory name, or volume label syntax is incorrect”.

    Could you pl guide me , how to troubleshoot.. and also in remote servers also… do i need to copy the pstools.exe etc. Could you pl extend little bit more.
    Thanks for the information provided.

    Sai

    • Hi Sai,

      There was a typo in the command. I’ve made the corrections now.
      For any remote computer, you must be able to reach it from the network and have the necessary credentials on the system to be able to do this.

  4. SPR

    psinfo -d \ \\gudiboin
    Try this command and it will work

  5. SPR

    For the first time you need to run the psinfo from the directory where the binary exists and then onwards you can run from anywhere – >> if the first command doesnt work.

  6. Jerry

    It does not support Windows NT, right?

    • According to it’s creators, it does.
      Quote: PsInfo is a command-line tool that gathers key information about the local or remote Windows NT/2000 system, including the type of installation, kernel build, registered organization and owner, number of processors and their type, amount of physical memory, the install date of the system, and if its a trial version, the expiration date.

  7. NewLearner

    This article was very useful but im new to this so i might need assistance. im trying to write a batch file to run a script to show info for multiple machines, could you please advise how i can write this script.

  8. Rajni

    I am trying to execute below command to get the disc report in csv,but i am getting error could not access.Can anybody help me please.

    psinfo -d -c \\ remote computer name > c:\psinfo.csv

    • Hi Rajni,

      What’s the exact error you’re getting? Is the remote computer reachable? Are the admin shares enabled? Are you able to open a PS session to the computer using PSExec.exe?
      What results do you get when you do a ping test?

  9. airwrks

    why not map a network drive to:

    \\computername\drive$

    that should also tell you capacity status

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s