Get-SCMACAddressPool

Gets a MAC address pool.

Description

The Get-SCMACAddressPool cmdlet gets one or more MAC address pools. A MAC address pool can be associated with one or more System Center Virtual Machine Manager (VMM) host groups.

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

Parameters

Name

Required? false
Accept Pipeline Input? false
Position? 0
Specifies the name of a VMM object.

MACAddress

Required? false
Accept Pipeline Input? false
Position? named
Specifies the MAC address or a set of MAC addresses for a physical or virtual network adapter on a computer.

Example format for a single MAC address:
  -MACAddress “00-15-5D-B4-DC-00”
Example formats for a set of MAC addresses:
  -MACAddress “00-15-5D-B4-DC-00”, “00-1A-A0-E3-75-29”

  $Macs = “00-15-5D-B4-DC-00”, “00-1A-A0-E3-75-29”
  Set-SCPXEServer –MACAddress $Macs

NOTE: When used with New-SCPXEServer or Set-SCPXEServer, the MACAddress parameter updates the PXE interfaces from which the SCDM PXE Server listens for and responds to PXE requests.

VirtualizationPlatform

Required? false
Accept Pipeline Input? false
Position? named
Specifies the virtualization platform of a virtual machine host managed by VMM. Valid values are: HyperV, VMwareESX, XENServer.

VMHostGroup

Required? false
Accept Pipeline Input? false
Position? named
Specifies a virtual machine host group object.

VMMServer

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

Examples

1: Get all MAC address pools for a host group.
PS C:\> $HostGroup = Get-SCVMHostGroup | where { $_.Path -eq "All Hosts\HostGroup02\Production" }
PS C:\> Get-SCMACAddressPool -VMHostGroup $HostGroup
The first command gets the host group named "Production" and stores it in the $HostGroup variable.

The second command gets all MAC address pools for the host group stored in $HostGroup (including its parent host group if inheritance is enabled).

See Also