diff --git a/Create-BatteryReport.ps1 b/Create-BatteryReport.ps1 index e3108fa..7f1a317 100644 --- a/Create-BatteryReport.ps1 +++ b/Create-BatteryReport.ps1 @@ -1,8 +1,3 @@ -Function Get-LongDate { - Return $(Get-Date -Format "yyyyMMdd") -} -$OutputDirectory = "${Env:PROGRAMDATA}\Emberkom\Output" - # Exit this script if the current device doesn't have a built-in battery If ( $null -eq (Get-CimInstance -ClassName Win32_Battery -ErrorAction SilentlyContinue) ) { Exit }