Get-DhcpServerv6Reservation

Get-DhcpServerv6Reservation

Returns the reserved IPv6 addresses on the Dynamic Host Configuration Protocol (DHCP) server service.

Sintaxis

Parameter Set: Prefix
Get-DhcpServerv6Reservation [-Prefix] <IPAddress> [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: IPAddress
Get-DhcpServerv6Reservation -IPAddress <IPAddress[]> [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Descripción detallada

The Get-DhcpServerv6Reservation cmdlet returns the reserved IPv6 addresses and associated client information (DUID, IAID) from the Dynamic Host Configuration Protocol (DHCP) server service.

Parámetros

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

Session

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ComputerName<String>

Specifies the DNS name, or IPv4 or IPv6 address, of the target computer running the DHCP server service.

Alias

Cn,ReservationServer

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-IPAddress<IPAddress[]>

Specifies the IPv6 addresses for which the reservation information is requested.

Alias

ReservedIP

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-Prefix<IPAddress>

Specifies the IPv6 prefix of the DHCP server service from which the reservations are requested.

Alias

ReservationScopeID

¿Requerido?

true

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ThrottleLimit<Int32>

Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

EXAMPLE 1

This example gets the information for all of the reserved IPv6 addresses in the specified DHCPv6 scope.

PS C:\> Get-DhcpServerv6Reservation -ComputerName dhcpserver.contoso.com -Prefix 2001:4898:7020:1020::

EXAMPLE 2

This example gets the information for a specified reserved IPv6 address on the DHCP server service running on the computer named dhcpserver.contoso.com.

PS C:\> Get-DhcpServerv6Reservation -ComputerName dhcpserver.contoso.com -IPAddress 2001:4898:7020:1020::5

EXAMPLE 3

This example gets all of the reserved IP addresses from all of the DHCPv6 scopes on the DHCP server service running on the computer named dhcpserver.contoso.com. The Get-DhcpServerv6Scope cmdlet returns all of the scope objects and pipes the objects into this cmdlet, which gets the reservations from each of the scopes passed through the pipeline.

PS C:\> Get-DhcpServerv6Scope -ComputerName dhcpserver.contoso.com | Get-DhcpServerv6Reservation -ComputerName dhcpserver.contoso.com

Temas relacionados

Add-DhcpServerv6Reservation

Get-DhcpServerv6Scope

Remove-DhcpServerv6Reservation

Set-DhcpServerv6Reservation