Private/Get-PythonVersion.ps1
function Get-PythonVersion { [cmdletbinding()] Param() Try { $PythonVersion = & python --version Return $PythonVersion } Catch { Return $null } } |
function Get-PythonVersion { [cmdletbinding()] Param() Try { $PythonVersion = & python --version Return $PythonVersion } Catch { Return $null } } |