Get-SCUpdateServer
Get-SCUpdateServer
Gets the Windows Server Update Services computer that has been added to VMM.
Syntax
Parameter Set: ID
Get-SCUpdateServer [-ID <Guid> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: Name
Get-SCUpdateServer [-ComputerName <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCUpdateServer cmdlet gets the Microsoft Windows Server Update Services (WSUS) computer that has been added to Virtual Machine Manager (VMM).
For more information about adding an update server to VMM, type: "Get-Help Add-SCUpdateServer".
Parameters
-ComputerName<String>
Specifies the name of a computer that VMM can uniquely identify on your network. Valid formats are: FQDN, IPv4 or IPv6 address, or NetBIOS name.
NOTE: See the examples for a specific cmdlet to determine how that cmdlet specifies the computer name.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ID<Guid>
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- UpdateServer
Examples
1: Get the update server.
This command gets the update server object named WSUSComputer01 and stores the object in the $UpdateServer variable.
PS C:\> $UpdateServer = Get-SCUpdateServer -ComputerName "WSUSComputer01"