Skip to content

Commit

Permalink
Update Grafana version installed by script
Browse files Browse the repository at this point in the history
  • Loading branch information
mure authored Feb 10, 2022
1 parent 058ec49 commit d69166e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Setup-Grafana.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent
$IsInstalled = (Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*).displayname -contains "GrafanaOSS"
if (-Not $IsInstalled) {
Write-Output 'Grafana not found - downloading installer'
Start-BitsTransfer -Source 'https://dl.grafana.com/oss/release/grafana-7.5.3.windows-amd64.msi' -Destination 'grafana.msi'
Start-BitsTransfer -Source 'https://dl.grafana.com/oss/release/grafana-8.3.6.windows-amd64.msi' -Destination 'grafana.msi'
Write-Output "Installing GrafanaOSS..."
Start-Process msiexec.exe -Wait -ArgumentList '/I grafana.msi /qr'
Remove-Item './grafana.msi'
Expand Down

0 comments on commit d69166e

Please sign in to comment.