Error setting PATH on server
Symptoms or Error information
There was an error when adding the following path to the PATH environment variable:
Complete the following troubleshooting steps to resolve this issue:
- Resume deployment. If the error persists, complete the following steps.
- Connect to server IP through winRM:
Enter-PsSession –Computername <ip_address> -Credential (Get-Credentials)
- Check the value of PATH:
- Add the opscode paths to PATH environment var if they do not show up exists:
cmd /c setx /M PATH "%PATH%;c:\opscode\chef\bin;c:\opscode\chef\embedded\bin"