Skip to content

Instantly share code, notes, and snippets.

View a-bode's full-sized avatar
🏖️
Traveling

a-bode

🏖️
Traveling
View GitHub Profile
@a-bode
a-bode / Install Windows 11 without Internet.md
Last active November 4, 2022 22:46
Install Windows 11 without Internet

On the “Oops, you’ve lost internet connection” or “Let’s connect you to a network” page, use the Shift + F10 keyboard shortcut.

In Command Prompt, type the OOBE\BYPASSNRO command to bypass network requirements on Windows 11 and press Enter.

The computer will restart automatically and the out-of-box experience (OOBE) will start again.

Install driver

@a-bode
a-bode / gist:d2ae7cab9b112b515b8b5123af5d7839
Created February 6, 2020 16:21
Execute PowerShell script from web
. iex (irm https://gist.githubusercontent.com/abodePS/eca026910738fb5189f0a596f72a973c/raw/1ccee08d6039655c0baa228822d7ea881792ad48/Test-Address.ps1)
@a-bode
a-bode / Test-Address.ps1
Created February 6, 2020 16:01
PowerShell: Validate Email or IPv4 Address using Regex
function Test-Address {
[CmdletBinding(DefaultParameterSetName = "EmailAddress")]
param (
[parameter(ParameterSetName = "EmailAddress")] $EmailAddress,
[parameter(ParameterSetName = "IPv4")] $IPv4
)
if ($EmailAddress) {