The Get-SCVMMManagedComputer cmdlet gets one or more computer objects managed by System Center Virtual Machine Manager (VMM). Managed computers include the following types of computers:
- VIRTUAL MACHINE HOST. A Hyper-V host, VMware ESX host,
or Citrix XenServer host on which you deploy virtual machines.
- VMWARE VIRTUALIZATION MANAGER. A server running VMware
vCenter Server that VMM connects to in order to manage ESX hosts
and the virtual machines deployed on those hosts.
- LIBRARY SERVER. A server used to make shares available to store VMM
- P2V SOURCE COMPUTER. Any physical computer that you want to "clone"
so that you can use its hardware and software settings to create one
or more virtual machines.
For more information about Get-SCVMMManagedComputer, type: "Get-Help Get-SCVMMManagedComputer -online".
Accept Pipeline Input?
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.
Accept Pipeline Input?
Specifies a VMM server object.
1: Get all computers managed by
PS C:\> Get-SCVMMManagedComputer
This command gets all computer objects managed by VMM and displays information about these managed computers to the user. When you look at the output, note that the RoleString property indicates whether the server is a library server, a host for virtual machines, both a library server and a host, a VMware vCenter Server, or a Citrix XenServer.
2: Update the agent software on all
host servers managed by VMM.
The first command uses Get-Credential to prompt you to supply a user name and password and then stores your credentials in the $Credential variable. The required credentials for this operation is a domain account with rights to update software on computers managed by VMM.
The second command gets all computer objects managed by VMM, and then passes each managed computer object to the Update-SCVMMManagedComputer cmdlet which updates the VMM agent software on each computer. As this command is processed, $Credential provides credentials to the Update-SCVMMManagedComputer cmdlet.
3: Get a specific computer managed by
VMM by IP address.