Version of PowerShell

What version of PowerShell is being run on your servers? The current version is 7.5.1. I was doing the Simple Cipher exercise, and was I using the Get-SecureRandom function. This was passing locally, but when I submitted the exercise, it failed with this error:

Message: CommandNotFoundException: The term
'Get-SecureRandom' is not recognized as a name of a cmdlet,
function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.

It looks like that function was added in PowerShell 7.4.

The test runner looks to be Powershell 7.3, running on Alpine.

OK, that explains it. Any chance of upgrading this to a newer version?

7.3 has been EOL for a year now. 7.4 is a LTS and supported for another year and a half so my inclination is the maintainers may want to consider upgrading if it’s not a hassle. I suspect 7.6 will be a LTS as well, but it’s in preview right now so that’s not a good candidate yet in my opinion.