How to get list of volume on 2008 R2 server using powershell

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 3 years, 8 months ago.

  • Author
  • #18781

    Akhilesh Awadhiya

    I have a server 2008r2 machine with many volumes presented to it. Is there a way, using powershell preferably, to get a quick list of all the lun numbers presented to it?
    As we can get in 2012 server Get-Volume (but when i am trying to run this command Get-Volume in 2008 R2 machine it's not avaible)

  • #18782

    Don Jones

    Get-WmiObject -Class Win32_LogicalDisk

You must be logged in to reply to this topic.