Advertisement
guyrleech

Get Citrix PVS target device in memory write cache usage

Apr 29th, 2020
886
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [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