Skip to content

Commit bc6ab76

Browse files
authored
Update installation instructions in README.md
Clarified installation instructions for PowerShell commands and SQL Server configuration.
1 parent 4d6efc8 commit bc6ab76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Legal notice: This script is provided without any warranty; without even the imp
1515

1616
# Installation Instructions
1717

18-
Open 'Windows PowerShell' as Administrator on your WSUS server, then run these commands:
18+
Open 'Windows PowerShell' as Administrator on your WSUS server, then run these commands.
19+
20+
NB If you are using an external SQL Server instance for WSUS, you will need to update `"\\.\pipe\MICROSOFT##WID\tsql\query"` in the command below to `"SQLSERVERNAME\INSTANCENAME"` to avoid errors.
1921

2022
```powershell
2123
# Update PowerShellGet for Windows PowerShell 5.1 - https://learn.microsoft.com/en-us/powershell/gallery/powershellget/update-powershell-51?view=powershellget-3.x
@@ -40,7 +42,6 @@ Register-ScheduledTask -TaskName "WSUS Update Operating Systems" `
4042
-WorkingDirectory '%ProgramFiles%\Update Services') `
4143
-Settings (New-ScheduledTaskSettingsSet -ExecutionTimeLimit (New-TimeSpan -Hours 2)) `
4244
-Trigger (New-ScheduledTaskTrigger -At "00:00:00" -Daily)
43-
# Update \\.\pipe\MICROSOFT##WID\tsql\query in the above command to SQLSERVERNAME\INSTANCENAME when using an external SQL Server instance
4445
4546
# Run the scheduled task immediately
4647
Start-ScheduledTask -TaskName "WSUS Update Operating Systems"

0 commit comments

Comments
 (0)