Results 1 to 4 of 4

Thread: Vista64 powershell disk & processor usage question

  1. #1
    Join Date
    May 2008
    Posts
    56

    Vista64 powershell disk & processor usage question

    Hi,

    I am using windows Vista & i want to use powershell which will give me the result of my disk & processor usage. Trying to create a script
    which will output to a single text file the disk usage for 2 drives
    and the CPU and memory usage over 10 minutes.
    I have no idea where to start with the disk usage, it all looks really
    complicated!!!

  2. #2
    Join Date
    Jan 2008
    Posts
    3,755

    Re: Vista64 powershell disk & processor usage question


  3. #3
    Join Date
    Jan 2008
    Posts
    31

    Re: Vista64 powershell disk & processor usage question

    Ok, when starting the script, taskmanager shows powershell using 15-20% cpu for a brief moment.
    Maybe the moment of the poll is slightly different when running the scheduled task manually contra scheduled.. ?


    This might not be an ideal use of ps, but on of my first attempts :-)

  4. #4
    Join Date
    May 2008
    Posts
    3,316

    Re: Vista64 powershell disk & processor usage question

    Basically, you should be able to use gwmi and the built-in performance counters to get the data you're looking for. The VBScript example shouldn't be too difficult to recreaate in PowerShell.

Similar Threads

  1. Question on LDAP usage
    By Rish!On in forum Active Directory
    Replies: 7
    Last Post: 05-04-2012, 05:22 PM
  2. Can a faster processor lower CPU Usage below 85%
    By Innocence$ in forum Motherboard Processor & RAM
    Replies: 6
    Last Post: 06-02-2012, 08:51 PM
  3. Question FSB processor and RAM
    By Samra in forum Motherboard Processor & RAM
    Replies: 6
    Last Post: 19-03-2009, 11:28 PM
  4. Replies: 1
    Last Post: 16-03-2009, 10:42 PM
  5. Memory usage question Windows 2003...
    By Joe in forum Windows Server Help
    Replies: 2
    Last Post: 30-10-2007, 11:59 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,731,465.35980 seconds with 16 queries