From 00226b9e78f063d4f209bb80f2f362cf53fea2e7 Mon Sep 17 00:00:00 2001 From: admin_tan Date: Thu, 11 Jun 2026 12:31:17 +0200 Subject: [PATCH] Actualiser Copy-PowerBGInfoGlobal.ps1 --- Copy-PowerBGInfoGlobal.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Copy-PowerBGInfoGlobal.ps1 b/Copy-PowerBGInfoGlobal.ps1 index 26b7722..9f5a848 100644 --- a/Copy-PowerBGInfoGlobal.ps1 +++ b/Copy-PowerBGInfoGlobal.ps1 @@ -1,3 +1,10 @@ +# ============================================================ +# LOG +# ============================================================ +$LogPath = Join-Path $PSScriptRoot "install.log" + +Start-Transcript -Path $LogPath -Append + # ============================================================ # CONFIG # ============================================================ @@ -29,3 +36,5 @@ Invoke-WebRequest "$BaseUrl/img19-resize.jpg" -OutFile $WallpaperPath # FIRST RUN # ============================================================ & "$DataPath\Set-WallpaperPowerBGInfoGlobal.ps1" + +Stop-Transcript