Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [string]$tmp = New-TemporaryFile;.\poolmon.exe -n $tmp;(Get-Content -Path $tmp).Where( { $_ -cmatch '^\sVhdR\s' }) -replace '\s{2,}' , ' ' |ConvertFrom-Csv -Delimiter ' ' -Header @( 'Pad','Tag','Type','Allocs','Frees','Diff','Bytes','Per Alloc' )|Select-Object -ExpandProperty Bytes;Remove-Item -Path $tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement