Skip to content

Commit 3a839ab

Browse files
Copilotrobinharwood
andcommitted
Update ImportUpdateToWSUS.ps1 example to include -WsusServer and -PortNumber parameters
Co-authored-by: robinharwood <19212983+robinharwood@users.noreply.github.com>
1 parent 0ec3484 commit 3a839ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WindowsServerDocs/administration/windows-server-update-services/manage/wsus-and-the-catalog-site.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ Use the following instructions to import updates into WSUS:
5959
C:\temp\ImportUpdateToWSUS.ps1 [-WsusServer] <String> [-PortNumber] <Int32> [-UseSsl] [-UpdateId] <String> [-UpdateIdFilePath] <string> [<CommonParameters>]
6060
```
6161

62-
**Example 1**: While signed into a WSUS server that uses the default port, import a single update by using the following syntax:
62+
**Example 1**: Import a single update into a WSUS server by specifying the server name and port number:
6363

6464
```powershell
65-
.\ImportUpdateToWSUS.ps1 -UpdateId 12345678-90ab-cdef-1234-567890abcdef
65+
.\ImportUpdateToWSUS.ps1 -WsusServer WSUSServer.contoso.com -PortNumber 8530 -UpdateId 12345678-90ab-cdef-1234-567890abcdef
6666
```
6767
6868
**Example 2**: Using a remote computer, import multiple updates into a WSUS server by using SSL with the following syntax:

0 commit comments

Comments
 (0)