?
Solved

Retrieving disk information via powershell

Posted on 2009-05-13
2
Medium Priority
?
701 Views
Last Modified: 2013-11-25
Does anyone know how to get specific disk information via powershell.
I am using get-wmiobject win32_logicaldisk   and    get-wimobject win32_volume

Trying to get everything in one go so I can see Drive path C:\ , disk number and diskID if that is possible
Host, C\, Disk 1, IDnumber
Host, D:\, Disk 2, IDnumber
0
Comment
Question by:dmc2084
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
dvast8n earned 375 total points
ID: 24379900
0
 

Author Comment

by:dmc2084
ID: 24386237
The information from those links are absolutely fantastic and will be a big help for many things to come. However it did not have a method of getting disk information in the format I was looking for.  I must thank you again for such wonderful information.
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question