add batch script
This commit is contained in:
parent
822f652826
commit
709cf3a4a3
1
Install_Webex_as_root.bat
Normal file
1
Install_Webex_as_root.bat
Normal file
@ -0,0 +1 @@
|
||||
curl -L https://binaries.webex.com/WebexTeamsDesktop-Windows-Gold/Webex.msi -o c:\temp\webex.msi && msiexec /i c:\temp\webex.msi ACCEPT_EULA=TRUE INSTALL_ROOT="C:\Program Files\WebEx" ALLUSERS=1 AUTOSTART_WITH_WINDOWS=false
|
@ -1,13 +1,11 @@
|
||||
# Install Webex as root
|
||||
# Source: https://help.webex.com/en-US/article/nw5p67g/Webex-|-Installation-and-Automatic-Upgrade#Cisco_Reference.dita_de4f9295-316d-4e1c-8f47-329ddfdb984d
|
||||
|
||||
powershell.exe -setexecutionpolicy bypass
|
||||
|
||||
$url = "https://binaries.webex.com/WebexTeamsDesktop-Windows-Gold/Webex.msi"
|
||||
$output = "$PSScriptRoot\Webex.msi"
|
||||
$start_time = Get-Date
|
||||
|
||||
Invoke-WebRequest -Uri $url -OutFile $output
|
||||
curl.exe -L $url -o $output
|
||||
Write-Output "Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)"
|
||||
|
||||
msiexec /i $output /quiet ACCEPT_EULA=TRUE INSTALL_ROOT="C:\Program Files" ALLUSERS=1 AUTOSTART_WITH_WINDOWS=false
|
||||
cmd.exe /C "msiexec /i $output ACCEPT_EULA=TRUE INSTALL_ROOT='C:\Program Files\Webex' ALLUSERS=1 AUTOSTART_WITH_WINDOWS=false"
|
Loading…
x
Reference in New Issue
Block a user