Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Retrieving disk information via powershell

Posted on 2009-05-13
2
Medium Priority
?
705 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

609 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