Compartilhar via


Reset-NetTeredoConfiguration

Reset-NetTeredoConfiguration

Resets the Teredo configuration elements in a Group Policy Object (GPO).

Syntax

Parameter Set: ByName
Reset-NetTeredoConfiguration [-AsJob] [-CimSession <CimSession[]> ] [-ClientPort] [-DefaultQualified] [-GPOSession <String> ] [-IPInterface <CimInstance> ] [-PassThru] [-PolicyStore <String> ] [-RefreshIntervalSeconds] [-ServerName] [-ServerShunt] [-ServerVirtualIP] [-ThrottleLimit <Int32> ] [-Type] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
Reset-NetTeredoConfiguration -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-ClientPort] [-DefaultQualified] [-PassThru] [-RefreshIntervalSeconds] [-ServerName] [-ServerShunt] [-ServerVirtualIP] [-ThrottleLimit <Int32> ] [-Type] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Reset-NetTeredoConfiguration cmdlet resets the Teredo configuration elements in a Group Policy Object (GPO) configurations to the not configured state. Group Policy settings have three possible states: not configured, enabled, and disabled.

If used with no parameters, this cmdlet resets all Teredo configurations on the specified store.

Parameters

-AsJob

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CimSession<CimSession[]>

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Aliases

Session

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ClientPort

Resets the UDP port of the client to not configured.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DefaultQualified

Resets the Teredo qualification configuration to false. This parameter can only be specified on GPOs.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-GPOSession<String>

Specifies the Group Policy session that contains the Teredo configuration to reset.
You can use this parameter with the NetGPO cmdlets to aggregate multiple operations performed on a GPO.
You cannot use this parameter with the PolicyStore parameter.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<CimInstance[]>

Specifies the object which contains the Teredo configuration information to reset.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-IPInterface<CimInstance>

Specifies the interface on which to reset the Teredo configuration. If the interface specified is not a Teredo interface, then the cmdlet does not return any configuration.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PolicyStore<String>

Specifies the policy store that contains the Teredo configuration to reset.
The acceptable values for this parameter are:
-- PersistentStore
-- ActiveStore
-- GPO
To reset the configuration of a GPO, specify the GPO name using the following format: Domain\GPOName
You cannot use this parameter with the GPOSession parameter.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RefreshIntervalSeconds

Resets the client refresh interval to 30 (seconds).

Aliases

RefreshInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerName

Resets the server name to teredo.ipv6.contoso.com.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerShunt

Resets the server shunt configuration to False.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServerVirtualIP

Resets the IPv4 address of the Teredo configuration to 0.0.0.0.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ThrottleLimit<Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Type

Resets the type of the Teredo configuration to default.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

    This cmdlet accepts no input objects.

Outputs

The output type is the type of the objects that the cmdlet emits.

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

    The Microsoft.Management.Infrastructure.CimInstance object is a wrapper class that displays Windows Management Instrumentation (WMI) objects. The path after the pound sign (#) provides the namespace and class name for the underlying WMI object.
    When the Passthru parameter is specified, this cmdlet outputs a modified Windows Management Instrumentation (WMI) object.

Examples

Example 1: Reset the Teredo configuration

This command resets the Teredo configuration to the not configured state.

PS C:\> Reset-NetTeredoConfiguration

Get-NetTeredoConfiguration

Set-NetTeredoConfiguration