{"id":27759626,"url":"https://github.com/ssg/wait-net","last_synced_at":"2025-04-29T11:59:16.729Z","repository":{"id":238485786,"uuid":"796656872","full_name":"ssg/Wait-Net","owner":"ssg","description":"PowerShell module that provides cmdlets to wait for Internet connectivity to become available","archived":false,"fork":false,"pushed_at":"2025-03-05T21:06:14.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T11:59:12.565Z","etag":null,"topics":["connectivity","internet","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-06T11:31:42.000Z","updated_at":"2025-03-05T21:06:17.000Z","dependencies_parsed_at":"2024-05-06T12:45:33.204Z","dependency_job_id":"26b91136-8eec-4357-93f2-3a568dde1bf6","html_url":"https://github.com/ssg/Wait-Net","commit_stats":null,"previous_names":["ssg/wait-net"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssg%2FWait-Net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssg%2FWait-Net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssg%2FWait-Net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssg%2FWait-Net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssg","download_url":"https://codeload.github.com/ssg/Wait-Net/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251498965,"owners_count":21598979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["connectivity","internet","powershell"],"created_at":"2025-04-29T11:59:16.184Z","updated_at":"2025-04-29T11:59:16.709Z","avatar_url":"https://github.com/ssg.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wait-Net\nPowershell cmdlet to wait for Internet connectivity to establish again.\n\n# About\nI wrote this cmdlet while [the cafe I was sitting at](https://maps.app.goo.gl/CTFfxeigBRRJLW3Y6)  lost its Internet connection. I wanted to be notified when Internet's back. I usually use `ping -t *some_known_ip_address*` to do that, but I didn't remember any\nwell-known IP addresses at the time. I remember 8.8.8.8 and 1.1.1.1, but I'm not sure if they responded to pings. This cmdlet is just a better way to wait until Internet connection is restored.\n\nI also thought that a simple PowerShell cmdlet would be idiomatic and useful for similar purposes in other people's scripts.\n\n# Installation\n`Install-Module Wait-Net`\n\n# Cmdlets\n## `Wait-Net`\nWait until Internet connectivity is restored on at least one of the network adapters on the system. It accepts a `-Milliseconds` parameter to specify the\ndelay for checks which is 1000 (1 Second) by default.\n\nBy default, Wait-Net shows no output. Feel free to use `-Debug` switch if you want to see what it's doing while waiting.\n\n## `Test-NetConnectivity`\nThis cmdlet just returns `$true` or `$false` if there is Internet connectivity.\n\n# License\nMIT License. See LICENSE.md for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssg%2Fwait-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssg%2Fwait-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssg%2Fwait-net/lists"}