Get-SCLibraryServer

Get-SCLibraryServer

Gets VMM library server objects.

構文

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

詳細説明

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

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

パラメーター

-ComputerName<String>

Specifies the name of a computer that VMM can uniquely identify on your network. Valid formats are:

-- FQDN
-- IPv4 or IPv6 address
-- NetBIOS name

NOTE: See the examples for a specific cmdlet to determine how that cmdlet specifies the computer name.

エイリアス

none

必須?

false

位置は?

1

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ID<Guid]>

Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • LibraryServer

Example Example 1: Get all library servers.

This command gets all library server objects on VMMServer01, and then displays information about these library servers.

The name of a library server is the same as its computer name.

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

Example 2: Get a specific library server

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

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

Example 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 then stores these library server objects in the $LibServers variable.

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

関連トピック

Add-SCLibraryServer

Add-SCLibraryShare

Remove-SCLibraryServer

Set-SCLibraryServer