Skip to content

Commit 3a60c5d

Browse files
Merge pull request #7822 from MicrosoftDocs/copilot/add-wsus-portnumber-example
Update ImportUpdateToWSUS.ps1 example to include -WsusServer and -PortNumber parameters
2 parents 7ea8dea + 3a839ab commit 3a60c5d

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)