Created
June 7, 2022 21:17
-
-
Save aymenjaz/f278874da57d881321226135f741d781 to your computer and use it in GitHub Desktop.
Automatically Download and install Brave Navigator. we need this script every time we install a new Windows server and we need to access internet , everyone know the error message that we have using internet explorer. this script is to remediate for this problem.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a temporary directory to store Brave64 | |
mkdir -Path $env:temp\Brave -erroraction SilentlyContinue | Out-Null | |
$Download = join-path $env:temp\Brave Brave64.exe | |
# Download the Brave installer. | |
Invoke-WebRequest 'https://laptop-updates.brave.com/latest/winx64/Brave64.exe' -OutFile $Download | |
# Install Google Brave using Powershell. | |
Invoke-Expression "$Download /install" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment