diff --git a/Create-BatteryReport.ps1 b/Create-BatteryReport.ps1 index a37ddd1..0748804 100644 --- a/Create-BatteryReport.ps1 +++ b/Create-BatteryReport.ps1 @@ -26,7 +26,6 @@ Catch { Exit 1 } - # Make sure powercfg succeeded and actually produced the report If ( $XmlProcess.ExitCode -ne 0 ) { Write-Error "powercfg failed to generate the XML battery report with exit code $($XmlProcess.ExitCode)"