Skip to content

Commit 5a14c46

Browse files
committed
Install-WAC.ps1 script added
1 parent fb23fe9 commit 5a14c46

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Blog/PowerShell/Install-WAC.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#requires -runasadministrator
2+
3+
# Paolo Frigo, https://www.scriptinglibrary.com
4+
#
5+
6+
#WINDOWS ADMIN CENTER DOCs
7+
#https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/deploy/install
8+
9+
$WAC_Online = "http://aka.ms/WACDownload"
10+
$WAC_Installer = "C:\windows\Temp\wac.msi"
11+
$WAC_Log = "C:\windows\Temp\wac-installer.log"
12+
Invoke-WebRequest -Uri $WAC_Online -OutFile $WAC_Installer
13+
msiexec /i $WAC_Installer /qn SME_PORT=443 SSL_CERTIFICATE_OPTION=generate

0 commit comments

Comments
 (0)