Skip to content
Snippets Groups Projects
Commit dbe3f5c2 authored by Andreas Lindemark's avatar Andreas Lindemark
Browse files

modified REAME.md with new file names

parent ae364a62
No related branches found
No related tags found
No related merge requests found
...@@ -119,10 +119,10 @@ This one-liner download and install does the following: ...@@ -119,10 +119,10 @@ This one-liner download and install does the following:
3. To run the script, you need to temporarily change the PowerShell execution policy to allow script execution. You can do this by using the following one-liner code: 3. To run the script, you need to temporarily change the PowerShell execution policy to allow script execution. You can do this by using the following one-liner code:
```powershell ```powershell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force; $tempPath = [System.IO.Path]::Combine([System.Environment]::GetFolderPath('Desktop')); $script1 = "$tempPath\ChocolateyUpgrade.ps1"; $script2 = "$tempPath\Install-Configure-ScheduleChocolateyUpgrade.ps1"; $configFile = "$tempPath\config.json"; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/Chocolatey/ChocolateyUpgrade.ps1" -OutFile $script1; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/Chocolatey/Install-Configure-ScheduleChocolateyUpgrade.ps1" -OutFile $script2; & $script2; Remove-Item -Path $script1, $script2 -Force; Write-Output "Check the log file at C:\Install Logs\ChocolateyInstall.log" Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force; $tempPath = [System.IO.Path]::Combine([System.Environment]::GetFolderPath('Desktop')); $script1 = "$tempPath\ChocolateyUpgrade.ps1"; $script2 = "$tempPath\InstallConfigureChocolatey.ps1"; $script3 = "$tempPath\ScheduleChocolateyUpgrade.ps1"; $configFile = "$tempPath\config.json"; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/Chocolatey/ChocolateyUpgrade.ps1" -OutFile $script1; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/Chocolatey/InstallConfigureChocolatey.ps1" -OutFile $script2; Invoke-WebRequest -Uri "https://gitlab.liu.se/andli86/snippets/-/raw/master/Windows/Chocolatey/ScheduleChocolateyUpgrade.ps1" -OutFile $script3; & $script2; $script3; Remove-Item -Path $script1, $script2 $script3 -Force; Write-Output "Check the log file at C:\Install Logs\*.log"
``` ```
4. The config.json file with all your own settings, is not removed so you can save and reuse it on other machines. 4. The config.json file with all your own settings, is not removed so you can save and reuse it on other Windows machines.
## Manual Installation ## Manual Installation
1. **Download the two script files to the computer**: 1. **Download the two script files to the computer**:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment