Actualiser Copy-PowerBGInfoPCI-COMPLIANT.ps1
This commit is contained in:
@@ -24,13 +24,13 @@ if (!(Test-Path $DataPath)) {
|
||||
# DOWNLOAD
|
||||
# ============================================================
|
||||
Invoke-WebRequest "$BaseUrl/Set-WallpaperPowerBGInfoPCI-COMPLIANT.ps1" -OutFile "$DataPath\Set-WallpaperPowerBGInfoPCI-COMPLIANT.ps1"
|
||||
Invoke-WebRequest "$BaseUrl/Set-ScheduledTaskPowerBGInfo.ps1" -OutFile "$DataPath\Set-ScheduledTaskPowerBGInfo.ps1"
|
||||
Invoke-WebRequest "$BaseUrl/Set-ScheduledTaskPowerBGInfoPCI-COMPLIANT.ps1" -OutFile "$DataPath\Set-ScheduledTaskPowerBGInfoPCI-COMPLIANT.ps1"
|
||||
Invoke-WebRequest "$BaseUrl/img19-resize.jpg" -OutFile $WallpaperPath
|
||||
|
||||
# ============================================================
|
||||
# CREATE SCHEDULED TASK
|
||||
# ============================================================
|
||||
& "$DataPath\Set-ScheduledTaskPowerBGInfo.ps1"
|
||||
& "$DataPath\Set-ScheduledTaskPowerBGInfoPCI-COMPLIANT.ps1"
|
||||
|
||||
# ============================================================
|
||||
# FIRST RUN
|
||||
|
||||
Reference in New Issue
Block a user