diff --git a/Examples/CustomReporting/CustomReport.ps1 b/Examples/CustomReporting/CustomReport.ps1 index 73872a8..70447bb 100644 --- a/Examples/CustomReporting/CustomReport.ps1 +++ b/Examples/CustomReporting/CustomReport.ps1 @@ -1,6 +1,6 @@ try {. $PSScriptRoot\..\..\LoadPSD1.ps1} catch {} -$f = ".\dashboard.xlsx" +$f = "$env:temp\dashboard.xlsx" Remove-Item $f -ErrorAction Ignore $data = @" @@ -69,4 +69,4 @@ Set-Format -Address $sheet1.Cells["I10"] -Formula "=Sum(I3:I8)" -Bold Set-Format -Address $sheet1.Cells["M10"] -Formula "=Sum(M3:M8)" -Bold Set-Format -Address $sheet1.Cells["O10"] -Formula "=Sum(O3:O8)" -Bold -Close-ExcelPackage $excel -Show \ No newline at end of file +Close-ExcelPackage $excel -Show