Since Windows Powershell 5.1 doens't get any feature updates anymore, and Powershell 7 has some notable performance improvements it would be nice to specify the powershell version with which we want to run datasource and delegated form scripts with.
Also the helloid cloud agent only supports powershell 7, so it makes sense to also support this on a locally installed system.