We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to sort by snapshot Size in snapshot information plugin.it is sorting by default by VM name even after sort-object SizeGb is provided.
The text was updated successfully, but these errors were encountered:
Did you adapt plugin 02 Snapshot Information? What did you change and where?
It should be sufficient to add a Sort-Object to the end of the line.
$VM | Get-Snapshot | Where-Object {$_.Created -lt (($Date).AddDays(-$SnapshotAge))} | Get-SnapshotSummary | Where-Object {$_.SnapName -notmatch $excludeName -and $_.Description -notmatch $excludeDesc -and $_.Creator -notmatch $excludeCreator} | Sort-Object -Property SizeGB
Sorry, something went wrong.
No branches or pull requests
unable to sort by snapshot Size in snapshot information plugin.it is sorting by default by VM name even after sort-object SizeGb is provided.
The text was updated successfully, but these errors were encountered: