powershell-profile icon indicating copy to clipboard operation
powershell-profile copied to clipboard

Test-Connection errors

Open ceramicv opened this issue 10 months ago • 2 comments

After installation, first there was no cove.zip in the directory I executed the command from.

Now whenever I launch a new Powershell window I get the following error:

Test-Connection : A parameter cannot be found that matches parameter name 'TimeoutSeconds'. At C:\Users\xlt\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:5 char:66

  • ... GitHub = Test-Connection github.com -Count 1 -Quiet -TimeoutSeconds 1
  •                                                     ~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Test-Connection], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.TestConnectionCo mmand

Skipping profile update check due to GitHub.com not responding within 1 second. Skipping PowerShell update check due to GitHub.com not responding within 1 second. oh-my-posh : The term 'oh-my-posh' 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\xlt\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:260 char:1

  • oh-my-posh init pwsh --config https://raw.githubusercontent.com/JanDe ...
  •   + CategoryInfo          : ObjectNotFound: (oh-my-posh:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

Loading personal and system profiles took 1109ms.

ceramicv avatar Apr 25 '24 23:04 ceramicv