Automated installation of the latest NetBird Client (always latest), a zero trust network for everyone! Easy as 1, 2, 3 to get it running.
Don't forget to replace the value of $setupID = "00A0AA00-00A0-0A00-0AAA-AA00A0AA0000" as this was only forged (not valid) using your own setupID in over at https://app.netbird.io. Free for 5 users with 100 clients. (requires manual interaction in worst case).
If you don't want the application to connect automatically, remove the $setupID = "00A0AA00-00A0-0A00-0AAA-AA00A0AA0000" and ", "/setup-id=$setupID" " entirely to make it more user dependable.
Update 2025-03-21:
Click to reveal
Click to hide
Updated the cleanup part to be correct.
added the script style like the rest of the scripts, including shortening the script by some margins.
Here we go:
tp = "C:\TempPath"
mkdir $tp
Invoke-WebRequest -Uri https://pkgs.netbird.io/windows/x64 -OutFile $tp\NetBird_Installer.exe
$Installer = "NetBird_Installer.exe"
$setupID = "00A0AA00-00A0-0A00-0AAA-AA00A0AA0000"
Start-Process -FilePath $tp\$Installer -ArgumentList "/S", "/setup-id=$setupID" -Wait
del $tp\$Installer