powershell-profile
powershell-profile copied to clipboard
Installation broke
it starts spewing errors out and lags my computer to kingdom come
I ran the link in the README and it was saying something about execution policy and it continued and now that is happening
I can confirm this exactly my experience. not sure how to fix it
i just keep getting this but way way more. It goes on for ever.
I tried removing the profile, and putting a direct copy in and still doesn't work at all
`Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Item : Cannot find path 'C:\Users\earle\AppData\Local\Temp\Microsoft.PowerShell_profile.ps1' because it does
not exist.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:32 char:1
+ Remove-Item "$env:temp/Microsoft.PowerShell_profile.ps1"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\earle\...ell_profile.ps1:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 : unable to check for $profile
updates
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:24 char:9
+ . $PROFILE
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.PowerShell_profile.ps1
Remove-Variable : Cannot find a variable with the name 'newhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (newhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'oldhash'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (oldhash:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
Remove-Variable : Cannot find a variable with the name 'url'.
At C:\Users\earle\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:31 char:1
+ Remove-Variable @("newhash", "oldhash", "url")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (url:String) [Remove-Variable], ItemNotFoundException
+ FullyQualifiedErrorId : VariableNotFound,Microsoft.PowerShell.Commands.RemoveVariableCommand
`
Found out in the documents folder there is a folder for powershell. delete that and the issue fixes
I get the same behavior. Installing manually or with the script. Any way to get it working and just not deleting it?
I get the same behavior. Installing manually or with the script. Any way to get it working and just not deleting it?
I couldn't find a fix and I can't look for one now because I swapped to Linux
Use Powershell Core