description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.UpdateServices.Commands.dll-Help.xml |
UpdateServices |
12/20/2016 |
2.0.0 |
Get-WsusServer |
Gets the WSUS update server object.
Get-WsusServer [<CommonParameters>]
Get-WsusServer [-Name] <String> [-UseSsl] -PortNumber <Int32> [<CommonParameters>]
The Get-WsusServer cmdlet gets the Windows Server Update Services (WSUS) update server object. This cmdlet requires the server name, port number and a flag that specifies if the server uses Secure Sockets Layer (SSL) as parameters.
Given a server name, port number, and flag specifying whether to use SSL, returns an IUpdateServer object.
PS C:\> Get-WsusServer
Name : contoso
This command gets the IUpdateServer object for the local computer.
PS C:\> Get-WsusServer -Name "contoso" -PortNumber 8530
Name : contoso
This command gets the IUpdateServer object for a remote computer.
Specifies the name of a WSUS server.
Type: String
Parameter Sets: ServerSpecified
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the port number to use to communicate with the upstream WSUS server.
Type: Int32
Parameter Sets: ServerSpecified
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies that the WSUS server should use Secure Sockets Layer (SSL) via HTTPS to communicate with an upstream server.
Type: SwitchParameter
Parameter Sets: ServerSpecified
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.