PowerTip: Use PowerShell to Find Reserved System Volumes

PowerTip: Use PowerShell to Find Reserved System Volumes

  • Comments 6
  • Likes

Summary: Use Windows PowerShell 3.0 in Windows 8 to find information about the system reserved volume.

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 in Windows 8 to return information about my system reserved volume?

Hey, Scripting Guy! Answer Use the Get-Volume function and specify the FileSystemLabel of “System Reserved”:

Get-Volume -FileSystemLabel "System Reserved"

 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • gwmi win32_volume | ?{$_.label -match "SYSTEM RESERVED"}

  • A better alternative ?

    Get-Partition | ? AccessPaths -eq $null

  • @_Emin_ you need to be admin and it gets no info on SYSTEM RESERVED volume.

    its very similar to:

    [System.IO.DriveInfo]::GetDrives()

  • @Krunch {The Commenter formerly known as K}

    [System.IO.DriveInfo]::GetDrives() doesn't list my system reserved partition on my W8

    You're right , w/o admin privilege I got:

    Get-Partition : Access to a CIM resource was not available to the client.

    PermissionDenied: (MSFT_Partition:ROOT/Microsoft/.../MSFT_Partition

  • after 3 days. I ,much like a school boy waiting for a pat on the head from the teacher, await a comment from @IamMred to validate my sad existence of minor input

  • @Krunch your answer works, as does this: gwmi win32_volume -filter 'label LIKE "%SYSTEM RESERVED%"' which avoids the extra where cmdlet. In addition, your answer works for ANY volume on any OS Windows Server 2003 and above.

    Of course, if you are specifically looking for System Reserved -- which is a WIndows 8 thing, then there is no reason not to use Get-Volume cmdlet :-)

    Good job!