minor fixes in log message wording
This commit is contained in:
@@ -14,7 +14,7 @@ If ( $TdrLevel -ne $ExistingTdrLevel ) {
|
|||||||
Write-Output "Changing TDR level to: ${TdrLevel}"
|
Write-Output "Changing TDR level to: ${TdrLevel}"
|
||||||
[Microsoft.Win32.Registry]::SetValue($RegPath,'TdrLevel',$TdrLevel,[Microsoft.Win32.RegistryValueKind]::DWord)
|
[Microsoft.Win32.Registry]::SetValue($RegPath,'TdrLevel',$TdrLevel,[Microsoft.Win32.RegistryValueKind]::DWord)
|
||||||
} Else {
|
} Else {
|
||||||
Write-Output "TDR value is already set to ${TdrLevel}"
|
Write-Output "TDR level is already set to ${TdrLevel}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get/set the TDR delay
|
# Get/set the TDR delay
|
||||||
@@ -22,8 +22,8 @@ $ExistingTdrValue = [Microsoft.Win32.Registry]::GetValue($RegPath,'TdrDelay',2)
|
|||||||
If ( $TdrDelay -ne $ExistingTdrValue ) {
|
If ( $TdrDelay -ne $ExistingTdrValue ) {
|
||||||
# Setting TDR timeout to $TdrDelay seconds
|
# Setting TDR timeout to $TdrDelay seconds
|
||||||
# Note: 2 = Default
|
# Note: 2 = Default
|
||||||
Write-Output "Existing TDR value: ${ExistingTdrValue}"
|
Write-Output "Existing TDR delay: ${ExistingTdrValue}"
|
||||||
Write-Output "Changing TDR value to: ${TdrDelay}"
|
Write-Output "Changing TDR delay to: ${TdrDelay}"
|
||||||
[Microsoft.Win32.Registry]::SetValue($RegPath,'TdrDelay',$TdrDelay,[Microsoft.Win32.RegistryValueKind]::DWord)
|
[Microsoft.Win32.Registry]::SetValue($RegPath,'TdrDelay',$TdrDelay,[Microsoft.Win32.RegistryValueKind]::DWord)
|
||||||
} Else {
|
} Else {
|
||||||
Write-Output "TDR delay is already set to ${TdrDelay}"
|
Write-Output "TDR delay is already set to ${TdrDelay}"
|
||||||
|
|||||||
Reference in New Issue
Block a user