Public/WinOS/Get-WinREPartition.ps1
function Get-WinREPartition { [CmdletBinding()] param () $WinrePartitionOffset = (Get-ReAgentXml).WinreLocationOffset $Results = Get-Partition | Where-Object {$_.Offset -match $WinrePartitionOffset} $Results[0] } |