From eec3875a102c1bc0b6a82320f8d1f8436534ae3c Mon Sep 17 00:00:00 2001 From: dyoder Date: Wed, 9 Sep 2020 21:11:37 -0400 Subject: [PATCH] remove testing --- Fix-WindowsHealth.ps1 | 2 -- Tools.ps1 | 3 --- 2 files changed, 5 deletions(-) diff --git a/Fix-WindowsHealth.ps1 b/Fix-WindowsHealth.ps1 index a5de3eb..0e9e44a 100644 --- a/Fix-WindowsHealth.ps1 +++ b/Fix-WindowsHealth.ps1 @@ -1,8 +1,6 @@ ## Run enhanced DISM for Windows 8 and higher endpoints If ( IsWindowsVersion -ge "6.2" ) { - $LogFile = "${MSPLogs}\Fix-WindowsHealth.log" - $BeginDISMRun = $(Get-Date).AddSeconds(-1) ## Scan the Windows Component Store for problems diff --git a/Tools.ps1 b/Tools.ps1 index dcaa2b1..2e4fccd 100644 --- a/Tools.ps1 +++ b/Tools.ps1 @@ -116,6 +116,3 @@ switch ($PSCmdlet.ParameterSetName) 'eq' { If ( $WindowsBuild -eq $eq ) { Return $true } Else { Return $false } } } } - -Function Write([string]$msg) -{ Write-Output "Called by: ${msg}" } \ No newline at end of file