minor fixes in log message wording

This commit is contained in:
2023-09-15 13:20:55 -04:00
parent 99b87f468b
commit 9d7c5d59ba
+3 -3
View File
@@ -14,7 +14,7 @@ If ( $TdrLevel -ne $ExistingTdrLevel ) {
Write-Output "Changing TDR level to: ${TdrLevel}"
[Microsoft.Win32.Registry]::SetValue($RegPath,'TdrLevel',$TdrLevel,[Microsoft.Win32.RegistryValueKind]::DWord)
} Else {
Write-Output "TDR value is already set to ${TdrLevel}"
Write-Output "TDR level is already set to ${TdrLevel}"
}
# Get/set the TDR delay
@@ -22,8 +22,8 @@ $ExistingTdrValue = [Microsoft.Win32.Registry]::GetValue($RegPath,'TdrDelay',2)
If ( $TdrDelay -ne $ExistingTdrValue ) {
# Setting TDR timeout to $TdrDelay seconds
# Note: 2 = Default
Write-Output "Existing TDR value: ${ExistingTdrValue}"
Write-Output "Changing TDR value to: ${TdrDelay}"
Write-Output "Existing TDR delay: ${ExistingTdrValue}"
Write-Output "Changing TDR delay to: ${TdrDelay}"
[Microsoft.Win32.Registry]::SetValue($RegPath,'TdrDelay',$TdrDelay,[Microsoft.Win32.RegistryValueKind]::DWord)
} Else {
Write-Output "TDR delay is already set to ${TdrDelay}"