Get-SCVirtualizationManager

Gets a VMware vCenter Server object managed by VMM.

Description

The Get-SCVirtualizationManager cmdlet gets one or VMware vCenter Server objects managed by System Center 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.

For more information about Get-SCVirtualizationManager, type: "Get-Help Get-SCVirtualizationManager -online".

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.

VMMServer

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

Examples

1: Display information about each VMware vCenter Server managed by VMM.
PS C:\> Get-SCVirtualizationManager -VMMServer "VMMServer01.Contoso.com"
This command retrieves all virtualization manager objects currently associated with VMM from VMMServer01 and displays information about the returned objects.
2: Get a specific VMware vCenter Server managed by VMM.
PS C:\> Get-SCVirtualizationManager -VMMServer "VMMServer01.Contoso.com" -ComputerName "vCenterServer02.Contoso.com"
This command gets the vCenter Server object named VirtMgrServer02 and displays information about the returned object to the user.
3: Get all VMware vCenter Servers that match specified criteria.
PS C:\> $vCenterServers = Get-SCVirtualizationManager -VMMServer "VMMServer01.Contoso.com" | where {$_.Name -match "Server"}
PS C:\> $vCenterServers
The first command gets all virtualization manager objects whose name includes the string “Server” and stores the returned objects in the $vCenterServers array.

The second command displays information about each vCenter Server object to the user.

See Also