Get-SCUpdateServer

Gets the WSUS server that has been added to VMM.

Syntax

Get-SCUpdateServer [-ComputerName <String>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCUpdateServer [-ID <Guid>] [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The Get-SCUpdateServer cmdlet gets the Microsoft Windows Server Update Services (WSUS) computer that has been added to Virtual Machine Manager (VMM). For information about how to add an update server to VMM, type Get-Help Add-SCUpdateServer.

Examples

Example 1: Get an update server

PS C:\> $UpdateServer = Get-SCUpdateServer -ComputerName "WSUSComputer01"

This command gets the update server object named WSUSComputer01, and then stores the object in the $UpdateServer variable.

Parameters

-ComputerName

Specifies the name of a computer. The acceptable values for this parameter are:

- Fully qualified domain name (FQDN)

  • IPv4 or IPv6 address
  • NetBIOS name

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ID

Specifies the unique ID of the WSUS that this cmdlet gets.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server for which this cmdlet gets the WSUS server.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

UpdateServer

This cmdlet returns an **UpdateServer** object.