From 4a11d3a924be71a3a6df706e7d9fd40f84f03c23 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Fri, 23 Feb 2024 14:37:03 -0500 Subject: [PATCH] initial commit --- Create-BatteryReport.ps1 | 5 ----- 1 file changed, 5 deletions(-) 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 }