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

Problems after install #80

Open
smileybrian opened this issue Jun 13, 2024 · 1 comment
Open

Problems after install #80

smileybrian opened this issue Jun 13, 2024 · 1 comment

Comments

@smileybrian
Copy link

Is there a way to reverse these changes?

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

Test-Connection : A parameter cannot be found that matches parameter name 'TimeoutSeconds'.
At C:\Users\Brian Haines\WLE Dropbox\Brian Haines\PC
(2)\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.TestConnectionCommand

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.
Loading personal and system profiles took 2185ms.****

@bitsper2nd
Copy link

You can comment that line 85 by adding a hashtag to it.

that way it will stop checking for updates, since you are using PowerShell 5 and not PowerShell Core. Should be something like this:

# Update-Powershell

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

2 participants