PowerShell Logo Small

Get-WsusServer



This is the built-in help made by Microsoft for the command 'Get-WsusServer', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets the Windows Server Update Services (WSUS) update server object.

SYNTAX


Get-WsusServer [-Name] <String> [-UseSsl] -PortNumber <Int32> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkId=789390

REMARKS

<

Examples


EXAMPLE 1

PS C:\> Get-WsusServer
Name : contoso



This example gets the IUpdateServer object for the local machine.






EXAMPLE 2

PS C:\> Get-WsusServer -Name contoso -PortNumber 8530
Name : contoso



This example gets the IUpdateServer object for a remote machine.