Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test-Connection errors #48

Open
ceramicv opened this issue Apr 25, 2024 · 2 comments
Open

Test-Connection errors #48

ceramicv opened this issue Apr 25, 2024 · 2 comments

Comments

@ceramicv
Copy link

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.

@excreal
Copy link

excreal commented Apr 30, 2024

Did you get a solution?

@alipayan
Copy link

alipayan commented May 1, 2024

Upgrading your PowerShell will solve the problem.
TimoutSeconds introduce in PowerShell version 6.
@ceramicv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants