Get-SCLibraryServer

Gets VMM library server objects.

Description

The Get-SCLibraryServer cmdlet gets one or more library server objects from the System Center Virtual Machine Manager (VMM) library.

For more information about library servers, type: "Get-Help Add-LibraryServer -detailed".

Parameters

ComputerName

Required? false
Accept Pipeline Input? false
Position? 0
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.

ID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get all library servers.
PS C:\> Get-SCLibraryServer -VMMServer "VMMServer01.Contoso.com"
This command gets all library server objects on VMMServer01 and displays information about these library servers to the user. 

NOTE: The name of a library server is the same as its computer name.
2: Get a specific library server.
PS C:\> Get-SCLibraryServer -VMMServer "VMMServer01.Contoso.com" -ComputerName "LibraryServer01.Contoso.com"
This command gets the library object named LibraryServer01 on VMMServer01 and displays information about this library server to the user. 
3: Get all library servers that match specified criteria.
PS C:\> $LibServers = Get-SCLibraryServer -VMMServer "VMMServer01.Contoso.com" | where { $_.Name -match "LibraryServer" }
This command gets all library server objects on VMMServer01 whose name includes the string “LibraryServer” (such as LibraryServer01 and LIbraryServer02) and stores these library server objects in the $LibServers variable.

See Also