Condividi tramite


New-DAEntryPointTableItem

New-DAEntryPointTableItem

Configures a new entry point for multisite DirectAccess.

Syntax

Parameter Set: ByPolicyStore
New-DAEntryPointTableItem -ADSite <String> -EntryPointIPAddress <String> -EntryPointName <String> -EntryPointRange <String[]> -PolicyStore <String> [-AsJob] [-CimSession <CimSession[]> ] [-GslbIP <String> ] [-IPHTTPsProfile <String> ] [-TeredoServerIP <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByGpoSession
New-DAEntryPointTableItem -ADSite <String> -EntryPointIPAddress <String> -EntryPointName <String> -EntryPointRange <String[]> -GPOSession <String> [-AsJob] [-CimSession <CimSession[]> ] [-GslbIP <String> ] [-IPHTTPsProfile <String> ] [-TeredoServerIP <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

New-DAEntryPointTableItem configures a new entry point for multisite DirectAccess. The administrator distributes the new entry point to DirectAccess client computers by using Group Policy, and DirectAccess client computers use the new entry point when appropriate.

Parameters

-ADSite<String>

Specifies the Active Directory Domain Services (AD DS) site name associated with the entry point. When a client computer connects to an entry point, the computer becomes associated with the AD DS site specified.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-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

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-EntryPointIPAddress<String>

Specifies the IPv6 address of the entry point to use for connectivity. The cmdlet fails if the IP address specified is not within the IP address range specified by EntryPointRange.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-EntryPointName<String>

Specifies the name of the entry point. The entry point name is usually the friendly name of the location, such as "Redmond" or "Paris".

Specify the name of the entry point by using double quotes ( “ ”).

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-EntryPointRange<String[]>

Specifies the IPv6 address range associated with computers connecting through this entry point. Specify the IPv6 range in classless inter-domain routing (CIDR) notation.

The following is an example of an EntryPointRange entry:
{2001:4898:e0:305d::100:1/128, 2001:4898:e0:305d::100:2/128, 2001:4898:e0:3084::/64}

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-GPOSession<String>

Specifies the Group Policy session to send configuration information. You can use GPOSession with the NetGPO cmdlets to aggregate multiple operations performed on a Group Policy Object.

GPOSession cannot be used in conjunction with PolicyStore.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-GslbIP<String>

Specifies the IP address associated with the new entry point, if using DirectAccess in conjunction with global server load balancing (GSLB) site balancing.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-IPHTTPsProfile<String>

Specifies the IPHTTPs profile name to be used for connectivity. You specify the name of the profile in double quotes (“ “). New-DAEntryPointTableItem fails if the profile does not already exist in the GPO that contains the configuration. For more information about IPHTTPs profiles, see the NetIPHTTPsConfiguration cmdlets in the NetworkTransition module.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PolicyStore<String>

Specifies the policy store into which the cmdlet adds the entry point.

To add the entry point to a Group Policy Object, specify the GPO name using the following format: "Domain\GPOName"

To add the entry point information to a computer’s local GPO, specify the computer’s local GPO name in the following format: "GPO:<computername>"

PolicyStore cannot be used in conjunction with GPOSession.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TeredoServerIP<String>

Specifies the IP address of the Teredo server for the new entry point.

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

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

  • This cmdlet has no input objects.

Outputs

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

  • Microsoft.Management.Infrastructure.CimInstance#root/StandardCimv2/MSFT_DASiteTableEntry

    This cmdlet returns a CIM object which contains the new DA entry point table item.

Examples

Example: Create a new entry point

This cmdlet creates a simple entry point named Paris.

PS C:\> New-DAEntryPointTableItem -PolicyStore GPO:Localhost -ADSite "Paris"  -EntryPointRange 2001::/16 –TeredoServerIP 131.107.1.1 –EntryPointIPAddress 200::1 –GslbIP 131.107.0.1 -EntryPointName "Paris" 

Get-DAEntryPointTableItem

Set-DAEntryPointTableItem

Reset-DAEntryPointTableItem

Rename-DAEntryPointTableItem

Remove-DAEntryPointTableItem