fslogix
fslogix copied to clipboard
Making the Remove-Containerdata.ps1 sort by Container size decending.
Most people like me I think want to start with the largest file and work down instead of alphabetical or native order.
On line 278 I added some text to sort the order from largest to smallest
Where-Object { $_.Length -gt (Convert-Size -From MB -To KB -Value $MinimumSizeInMB) } | Sort-Object Length -Descending