Get-SCVirtualizationManager

Applies To: System Center 2012 - 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 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<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

-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

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"

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 to the user.

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

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 stores the returned objects in the $vCenterServers array.

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

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

Add-SCVirtualizationManager

Read-SCVirtualizationManager

Remove-SCVirtualizationManager

Set-SCVirtualizationManager