Actualiser Copy-PowerBGInfoGlobal.ps1
This commit is contained in:
@@ -23,7 +23,7 @@ if (!(Test-Path $DataPath)) {
|
||||
# ============================================================
|
||||
# DOWNLOAD
|
||||
# ============================================================
|
||||
Invoke-WebRequest "$BaseUrl/Set-WallpaperPowerBGInfoGlobal.ps1" -OutFile "$DataPath\Set-WallpaperPowerBGInfoGlobal.ps1"
|
||||
Invoke-WebRequest "$BaseUrl/Set-WallpaperPowerBGInfoCORPORATE.ps1" -OutFile "$DataPath\Set-WallpaperPowerBGInfoCORPORATE.ps1"
|
||||
Invoke-WebRequest "$BaseUrl/Set-ScheduledTaskPowerBGInfo.ps1" -OutFile "$DataPath\Set-ScheduledTaskPowerBGInfo.ps1"
|
||||
Invoke-WebRequest "$BaseUrl/img19-resize.jpg" -OutFile $WallpaperPath
|
||||
|
||||
@@ -35,6 +35,6 @@ Invoke-WebRequest "$BaseUrl/img19-resize.jpg" -OutFile $WallpaperPath
|
||||
# ============================================================
|
||||
# FIRST RUN
|
||||
# ============================================================
|
||||
& "$DataPath\Set-WallpaperPowerBGInfoGlobal.ps1"
|
||||
& "$DataPath\Set-WallpaperPowerBGInfoCORPORATE.ps1"
|
||||
|
||||
Stop-Transcript
|
||||
|
||||
Reference in New Issue
Block a user