mirror of
https://github.com/awarre/Optimize-WsusServer.git
synced 2026-05-03 14:00:31 +00:00
Fixed typo preventing WID database optimization
This commit is contained in:
@@ -91,7 +91,7 @@ $recommendedIISSettings = @{
|
||||
}
|
||||
|
||||
<#
|
||||
DeepClean Tips
|
||||
DeepClean
|
||||
|
||||
To find potentially unneeded updates:
|
||||
1. WSUS management console
|
||||
@@ -422,7 +422,7 @@ function Optimize-WsusDatabase {
|
||||
if ($wsusSqlServerName -match 'SQLEXPRESS') {
|
||||
$serverInstance = 'np:\\.\pipe\MSSQL$SQLEXPRESS\sql\query'
|
||||
}
|
||||
elseif (($wsusSqlServerName -match '##WIN') -Or ($wsusSqlServerName -match '##SSEE')) {
|
||||
elseif (($wsusSqlServerName -match '##WID') -Or ($wsusSqlServerName -match '##SSEE')) {
|
||||
#Check OS version
|
||||
$osVersion = [decimal]("$(([environment]::OSVersion.Version).Major).$(([environment]::OSVersion.Version).Minor)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user