Compartir a través de


Get-SCUpdateServer

Gets the WSUS server that has been added to VMM.

Syntax

ID (Default)

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

Name

Get-SCUpdateServer
    [-VMMServer <ServerConnection>]
    [-ComputerName <String>]
    [<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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Name
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ID

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

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ID
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

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

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

UpdateServer

This cmdlet returns an UpdateServer object.