-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I'm using Windows 10 and just installed Powershell 6.2.2. Using your profile, I get a lot of error messages that indicate that 'Add-PathVariable' is not recognized:
Add-PathVariable : The term 'Add-PathVariable' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\A\Documents\PowerShell\Microsoft.PowerShell_profile.ps1:7 char:1
+ Add-PathVariable "${env:ProgramFiles}\PowerShell\6-preview"
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Add-PathVariable:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
There are 18 of these errors; all indicating that Add-PathVariable isn't recognized.
Metadata
Metadata
Assignees
Labels
No labels