Export (0) Print
Expand All
Expand Minimize

Get-SCLibraryServer

Updated: September 27, 2012

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCLibraryServer

Gets VMM library server objects.

Syntax

Parameter Set: Default
Get-SCLibraryServer [[-ComputerName] <String> ] [-ID <Guid> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]




Detailed 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<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?

1

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.

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.

  • LibraryServer

Examples

1: Get all library servers.

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.


PS C:\> Get-SCLibraryServer -VMMServer "VMMServer01.Contoso.com"

2: Get a specific library server.

This command gets the library object named LibraryServer01 on VMMServer01 and displays information about this library server to the user.


PS C:\> Get-SCLibraryServer -VMMServer "VMMServer01.Contoso.com" -ComputerName "LibraryServer01.Contoso.com"

3: Get all library servers that match specified criteria.

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.


PS C:\> $LibServers = Get-SCLibraryServer -VMMServer "VMMServer01.Contoso.com" | where { $_.Name -match "LibraryServer" }

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft