Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Script to find how many HDD

Hi,

I want to find how many HDD are there in a remote machine with size.Is there a way to do this.

REgards
Sharath
Avatar of Admin4XP
Admin4XP

With computer management you can connect to remote computer. Then under the Disk management you can see how many drives it has and how they are partitioned.

Will that do or does the proccess need to be automated?
Avatar of bsharath

ASKER

I ned to find for many machines.Any easier way could be useful..
I see. I dont know if theres a way to script Disk management But id reccomend posting a pointer in Programing to this question. If there is a way im sure sirbounty wont take long to find it : )
http://www.microsoft.com/downloads/details.aspx?familyid=09dfc342-648b-4119-b7eb-783b0f7d1178&displaylang=en
download scriptomatic2 from above link

select class "Win32_DiskDrive" from "root\cimv2" namespace for physical drives
select class "Win32_LogicalDisk" from "root\cimv2" namespace for logical disk with all drive letters
you have to tailor the script provided by scriptomatic to gather only required information.
ASKER CERTIFIED SOLUTION
Avatar of jmoisy
jmoisy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial