How to open Environment variables
Open Control Panel
Search for: Environment variables
Click Edit the system Environment variables
Click on Advanced Tab
Click Environment Variables..
Click on PSModulePath
Variable Name: PSModulePath
PSModulePath should not have leading and ending white space
Variable value: valye should not have leading and ending white space
Open Control Panel
Search for: Environment variables
Click Edit the system Environment variables
Click on Advanced Tab
Click Environment Variables..
Click on PSModulePath
Variable Name: PSModulePath
PSModulePath should not have leading and ending white space
Variable value: valye should not have leading and ending white space