Giter Site home page Giter Site logo

Comments (6)

randomBullets avatar randomBullets commented on July 4, 2024 2

I can confirm this exactly my experience. not sure how to fix it

from powershell-profile.

randomBullets avatar randomBullets commented on July 4, 2024

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


`

from powershell-profile.

MEGA-Dawg68 avatar MEGA-Dawg68 commented on July 4, 2024

Found out in the documents folder there is a folder for powershell. delete that and the issue fixes

from powershell-profile.

JussiRoos avatar JussiRoos commented on July 4, 2024

I get the same behavior. Installing manually or with the script. Any way to get it working and just not deleting it?

from powershell-profile.

MEGA-Dawg68 avatar MEGA-Dawg68 commented on July 4, 2024

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

from powershell-profile.

ShadowElixir avatar ShadowElixir commented on July 4, 2024

Use Powershell Core

from powershell-profile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.