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

Welcome Forums General PowerShell Q&A 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

 
Keymaster
4 years, 3 months ago.

  • Author
    Posts
  • #18781

    Participant
    Points: 0
    Rank: Member

    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

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    Get-WmiObject -Class Win32_LogicalDisk

The topic ‘How to get list of volume on 2008 R2 server using powershell’ is closed to new replies.