I have a server that executes many PowerShell scripts. PowerShell 5.1 is installed. PowerShell 7 is not installed.
If I install PowerShell 7, what PS version will the existing scripts "run on"? 5.1 or 7? If existing scripts will default to use 7, how can I force existing scripts to use 5.1?