powershell commands

i am looking for a single powershell command to perform the below task:

1.       Memory allocation by process identifier
2.       CPU use by process identifier
3.       I/O Reads, by process identifier
4.       I/O Write, by process identifier
5.       I/O Reads, by disk or channel or controller or interface
6.       I/O Write, by disk or channel or controller or interface
7.       Disk queue length and queue time
8.       Work Directory storage used, total
9.       Work Directory storage used by PID + associated UID + last modified date
cyril darkeyDatabase AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
I'm pretty certain that you cannot get all the info above with a single command, you will need to build a script to return all the info referenced above.

1. use Get-Process
2. use Get-Process
3. needs info from Get-Process and Get-Counter
4. needs info from Get-Process and Get-Counter
5. use Get-Counter
6. use Get-Counter
7. use Get-Counter
8 & 9 these 2 points alone require a separate script to determine folder sizes.

The script is somewhat complex (pulling data from multiple commands & piping that data forward) would take a while to build and test.

Just a summary to let you know the info needed is not a simple task to collect and present.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.