Public/Get-BCDBootVolume.ps1
function Get-BCDBootVolume { $boot_volumes = Get-Volume | Test-IsBootVolume $boot_volumes | ForEach-Object { [PSCustomObject]@{ DriveLetter = $_.DriveLetter FriendlyName = $_.FriendlyName SizeMB = [math]::round($_.Size/1MB, 2) SizeRemainingMB = [math]::round($_.SizeRemaining / 1MB, 2) FileSystem = $_.FileSystem Path = $_.Path } } } |