Add a script for installing UniFi
This commit is contained in:
parent
8cc697a097
commit
27ba6efad5
2 changed files with 12 additions and 2 deletions
scripts/Windows/Software/Ubiquiti UniFi Controller
|
@ -0,0 +1,9 @@
|
|||
#!/bin/pwsh
|
||||
$ahkID = "AutoHotkey.AutoHotkey";
|
||||
$ahk1ID = "Lexikos.AutoHotkey";
|
||||
winget unintsall --accept-source-agreements -e --id "$ahkID";
|
||||
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahk1ID";
|
||||
choco install -y temurin11jre;
|
||||
choco install -y ubiquiti-unifi-controller;
|
||||
winget unintsall --accept-source-agreements -e --id "$ahk1ID";
|
||||
winget install --accept-source-agreements --accept-package-agreements -e --id "$ahkID";
|
Loading…
Add table
Add a link
Reference in a new issue