Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6130055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:48:49+00:00 2026-05-23T16:48:49+00:00

I am half way down with my work and now stuck. I am trying

  • 0

I am half way down with my work and now stuck.

I am trying to fetch information about available storage devices for a cluster.
I am able to fetch the list of available storage devices but unable to retrieve the physical disk, available free space, etc of these available storage.

I want like this. Is there any command to fetch physical disk name from Cluster Disk Name or directly can I get the disk details.
For Shared Disk I am able to retrieve the details (Get-ClusterSharedVolume) but not for a non-shared disk.
I want powershell or WMI script for doing so.
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:48:50+00:00Added an answer on May 23, 2026 at 4:48 pm

    You can get this information from WMI, but it takes a couple steps:

    $resources = Get-WmiObject -namespace root\MSCluster MSCluster_Resource -filter "Type='Physical Disk'"
    $resources | foreach {
        $res = $_
        $disks = $res.GetRelated("MSCluster_Disk")
        $disks | foreach {
            $_.GetRelated("MSCluster_DiskPartition") |
                select @{N="Name"; E={$res.Name}}, @{N="Status"; E={$res.State}}, Path, VolumeLabel, TotalSize, FreeSpace 
        }
    } | ft
    

    That will give you output like the following:

    Name                  Status Path  VolumeLabel  TotalSize  FreeSpace
    ----                  ------ ----  -----------  ---------  ---------
    Cluster Disk 2             2 K:    New Volume        5220       5163
    SQL - FAS3070 SiteB        2 S:    MC_SQL            5597       5455
    SM Test                    2 M:    SM Test           1024        992
    DTC - FAS3070B             2 F:    MC_WITNESS        5346       5289
    Cluster Disk Witness       2 E:    New Volume        5322       5267
    Cluster Disk 1             2 G:    MC_DTC            5088       5035
    Cluster Disk 3             2 T:    SQL               5119       4999
    

    If you don’t care about the resource name/status you can skip those steps and jump straight to the partition (and it’ll run much quicker):

    gwmi -namespace root\MSCluster MSCluster_DiskPartition | ft Path, VolumeLabel, TotalSize, FreeSpace
    

    Edit: Note that the size is in MB and a Status of “2” means that the disk is online.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I run this code, About half-way through the concatenation loop, $xml becomes null
I am trying to learn C++ fstream, ifstream, ofstream. On Half way through my
About a half dozen times now, I’ve been doing a regular chore in Visual
I have another class that creates the connection (see refined class half way down
I am trying to work out the best way to represent the concept of
I have been reading Groovy, and I'm half way down. I started to love
If you go to here you will see a facepile half way down the
I have a div which is half way down the page. After I click
I half-answered a question about finding clusters of mass in a bitmap . I
If about half of my views require the same data set, is it appropriate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.