To add the Python path, set environment variable on powershell using the following command
[Environment]::SetEnvironmentVariable(“Path”, “$env:Path;C:\Python27”, “User”)
Reference :- https://stackoverflow.com/questions/11813435/im-trying-to-use-python-in-powershell