How to Install Sonicwall NetExtender with CMD and PowerShell
Please subscribe to my channel ⬆️ and like this video ↗️
.
Code Snippets Used:
CMD:
msiexec.exe /i “C:\temp\NetExtender-x64-10.2.341.msi”
msiexec.exe /i “C:\temp\NetExtender-x64-10.2.341.msi” /qn /norestart
msiexec.exe /i “C:\temp\NetExtender-x64-10.2.341.msi” /qn /norestart server=vpn.domain.com domain=doman.local
.
MsiExec.exe /X{DAEDD2CD-1A17-473A-8559-02DD92AC991C} /qn /norestart
.
PowerShell:
Start-Process FilePath "C:\Program Files (x86)\SonicWall\SSL
VPN\NetExtender\uninst.exe" -ArgumentList "/S" -Wait
.
Get-Package -Name "SonicWall NetExtender" | Uninstall-Package
.
$pkg = "C:\temp\NetExtender-x64-10.3.4.msi"
Start-Process msiexec -ArgumentList "/i `"$pkg`"","/qn /norestart"
.
Copy the code below and save as NetExtenderUpgrade.ps1
{
#Uninstall 32bit .exe
Start-Process -FilePath "C:\Program Files (x86)\SonicWall\SSL-VPN\NetExtender\uninst.exe" -ArgumentList "/S" -Wait
#Uninstall 64bit .exe
Start-Process -FilePath "C:\Program Files\SonicWall\SSL-VPN\NetExtender\uninst.exe" -ArgumentList "/S" -Wait
#Uninstall .msi
Get-Package -Name "SonicWall NetExtender" | Uninstall-Package
#Install .msi, Update for your folder location and file
$pkg = "C:\temp\NetExtender-x64-10.3.4.msi"
Start-Process msiexec -ArgumentList "/i `"$pkg`"","/qn /norestart"
}
Whether you are a novice home user or experienced technician if you found this video helpful feel free to bookmark for future use or save the link in your knowledge base, wiki, confluence or ticket. Lets Ninja fix IT! 💪
.
Note: These guides are not intended to guarantee resolution on any issues, warnings, or errors you are experiencing with your infrastructure. A strong technical background is recommended in, but not limited to, server administration, Window OS, networking, Office 365, cmd line, powershell and general MSP best practices. Always export the current configuration, confirm backup solutions are up to date, make a backup\snapshot\checkpoint before making any changes. Do not make any irreversible changes or deletion events with out performing due diligence.
Hashtags
--------------
#sonicwall #firewall #NetExtender #network #install #ssl #vpn #sslvpn #CMD #powershell #commandline #script #microsoft