The function Get-VAMIDisks in the module VAMI.psm1 uses a "sort" instead of "Sort-Object." When used with PowerShell on Linux the OS sort function kicks in instead of the Powershell version and it doesn't work.
Reproduction steps
1. Just run Get-VAMIDisks using PowerShell core on Linux
Expected behavior
It is expected that the function will return the disks and sizes of the vCenter appliance
Describe the bug
The function Get-VAMIDisks in the module VAMI.psm1 uses a "sort" instead of "Sort-Object." When used with PowerShell on Linux the OS sort function kicks in instead of the Powershell version and it doesn't work.
Reproduction steps
Expected behavior
It is expected that the function will return the disks and sizes of the vCenter appliance
Additional context
No response