Set-NetIsatapConfiguration

Set-NetIsatapConfiguration

Sets an ISATAP configuration on a computer or on a Group Policy Object (GPO).

Sintaxis

Parameter Set: ByName
Set-NetIsatapConfiguration [[-State] <State> ] [[-Router] <String> ] [[-ResolutionState] <State> ] [[-ResolutionIntervalSeconds] <UInt32> ] [-AsJob] [-CimSession <CimSession[]> ] [-GPOSession <String> ] [-IPInterface <CimInstance> ] [-PassThru] [-PolicyStore <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
Set-NetIsatapConfiguration [[-State] <State> ] [[-Router] <String> ] [[-ResolutionState] <State> ] [[-ResolutionIntervalSeconds] <UInt32> ] -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

The Set-NetIsatapConfiguration cmdlet sets an ISATAP configuration on a computer or on a Group Policy Object (GPO).

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

-GPOSession<String>

Specifies the Group Policy session to which to store the configuration information.
You can use this with the NetGPO cmdlets to aggregate multiple operations performed on a GPO.
You cannot use this parameter with the PolicyStore parameter.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-InputObject<CimInstance[]>

Specifies the object which contains ISATAP configuration to set.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-IPInterface<CimInstance>

Specifies the IP interface on which to set the ISATAP configuration.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-PassThru

Devuelve un objeto que representa el elemento con el que está trabajando. De forma predeterminada, este cmdlet no genera ningún resultado.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-PolicyStore<String>

Specifies the policy store that contains the configuration to set.
Los valores aceptables para este parámetro son los siguientes:
-- PersistentStore
-- ActiveStore
-- GPO
To set the configuration of a GPO, specify the GPO name using the following format: Domain\GPOName
You cannot use this parameter with the GPOSession parameter.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ResolutionIntervalSeconds<UInt32>

Specifies how often in seconds that Windows Server® 2012 attempts to contact the specified ISATAP server.

Alias

ResolutionInterval

¿Requerido?

false

¿Posición?

5

Valor predeterminado

False

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ResolutionState<State>

Specifies the state of router name resolution. The state of the router name resolution specifies how often Windows Server 2012 resolves the ISATAP router name.

Alias

ninguno

¿Requerido?

false

¿Posición?

4

Valor predeterminado

False

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Router<String>

Specifies the policy setting that allows you to specify a router name or IPv4 address for an ISATAP router.
If you enable this policy setting, then you can specify a router name or IPv4 address for an ISATAP router. If you enter an IPv4 address of the ISATAP router, then DNS services are not required.

Alias

ninguno

¿Requerido?

false

¿Posición?

3

Valor predeterminado

False

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-State<State>

Specifies the policy setting that allows you to configure ISATAP, an address-to-router and host-to-host, host-to-router and router-to-host automatic tunneling technology that provides unicast IPv6 connectivity between IPv6 hosts across an IPv4 intranet.
You can specify one of the following three policy setting states:
-- Default: If the ISATAP router name is resolved successfully, then ISATAP is configured with a link-local address and an address for each prefix received from the ISATAP router through stateless address auto-configuration.
---- If the ISATAP router name is not resolved successfully, then ISATAP connectivity is not available on the host using the corresponding IPv4 address.
-- Enabled:
---- If the ISATAP name is resolved successfully, then ISATAP is configured with a link-local address and an address for each prefix received from the ISATAP router through stateless address auto-configuration.
---- If the ISATAP name is not resolved successfully, then the ISATAP interface is configured with a link-local address.
-- Disabled: No ISATAP interfaces are present on the host.

Alias

ninguno

¿Requerido?

false

¿Posición?

2

Valor predeterminado

False

¿Aceptar canalización?

false

¿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

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿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.

  • None

    This cmdlet accepts no input objects.

Salidas

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

  • Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetISATAPConfiguration

    El objeto Microsoft.Management.Infrastructure.CimInstance es una clase contenedora que muestra objetos de Instrumental de administración de Windows (WMI). La ruta de acceso después del signo de número (#) proporciona el espacio de nombres y el nombre de clase del objeto WMI subyacente.
    When the Passthru parameter is specified, this cmdlet outputs a modified ISATAP configuration object.

Ejemplos

Example 1: Set ISATAP configuration

This command modifies the router name.

PS C:\> Set-NetIsatapConfiguration -Router superisatap

Example 2: Set a router using an input object

This set of commands uses the Get-NetIPInterface and Get-NetIsatapConfiguration cmdlets to get the ISATAP configuration of the interface at index 14 and stores it in a variable named $config, and then sets the router name to SuperIsatap using this cmdlet.

PS C:\> $config = ( Get-NetIPInterface -InterfaceIndex 14 | Get-NetIPISATAPConfiguration )
PS C:\> $config.Router = "SuperIsatap"
PS C:\> Set-NetIsatapConfiguration -InputObject $config

Temas relacionados

Get-NetIPInterface

Get-NetIsatapConfiguration

Set-NetIsatapConfiguration