The README.md states the supported version includes PowerShell 5.1 > * `PowerShell >= 5.1` for PowerShell Gallery. [Line 383](https://github.com/rubrikinc/rubrik-sizing-scripts/blob/b36572591a308e91e8828f3834c2482fcdb47416/M365/Get-RubrikM365SizingInfo.ps1#L383) uses the `AsPlainText` parameter, which was introduced in [7.0](https://learn.microsoft.com/en-us/previous-versions/powershell/module/microsoft.powershell.security/convertfrom-securestring?view=powershell-7).
The README.md states the supported version includes PowerShell 5.1
Line 383 uses the
AsPlainTextparameter, which was introduced in 7.0.