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