Export (0) Print
Expand All
Expand Minimize

Get-SCVirtualizationManager

Updated: April 29, 2014

Applies To: System Center 2012 R2 Virtual Machine Manager

Get-SCVirtualizationManager

Gets a VMware vCenter Server object managed by VMM.

Syntax

Parameter Set: Default
Get-SCVirtualizationManager [[-ComputerName] <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]




Detailed Description

The Get-SCVirtualizationManager cmdlet gets one or VMware vCenter Server objects managed by Virtual Machine Manager (VMM). A vCenter Server is a virtualization manager that typically manages ESX hosts and virtual machines deployed on those hosts.

If a vCenter Server is connected to VMM, you can use this cmdlet to view the properties of the vCenter Server object or to store it in a variable for use by other cmdlets.

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

-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.

  • VirtualizationManager

Examples

Example 1: Display information about each VMware vCenter Server managed by VMM

This command retrieves all virtualization manager objects currently associated with VMM from VMMServer01 and displays information about the returned objects.


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

Example 2: Get a specific VMware vCenter Server managed by VMM

This command gets the vCenter Server object named VirtMgrServer02 and displays information about the returned object.


PS C:\> Get-SCVirtualizationManager -VMMServer "VMMServer01.Contoso.com" -ComputerName "vCenterServer02.Contoso.com"

Example 3: Get all VMware vCenter Servers that match specified criteria

The first command gets all virtualization manager objects whose name includes the string Server, and then stores the returned objects in the $vCenterServers array.

The second command displays information about each vCenter Server object.


PS C:\> $vCenterServers = Get-SCVirtualizationManager -VMMServer "VMMServer01.Contoso.com" | where {$_.Name -match "Server"}
PS C:\> $vCenterServers

Related topics

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