diff --git a/Fix-WindowsHealth.ps1 b/Fix-WindowsHealth.ps1 index 08b3264..915a1a5 100644 --- a/Fix-WindowsHealth.ps1 +++ b/Fix-WindowsHealth.ps1 @@ -1,5 +1,5 @@ # Check the RMM runtime variable to see if it's set to 'null', if not then set the $TicketID -If ( $TicketNumber.Trim().ToLower() -ne 'null' ) { $TicketID = $TicketNumber } +If ( $TicketNumber.Trim().ToLower() -ne 'null' ) { $TicketID = $TicketNumber.Trim() } # Run SFC to check the filesystem, convert the result from Unicode to UTF8, delete the intermediate $tempFile $tempFile = New-TemporaryFile