New-DAEntryPointTableItem

Configures a new entry point for multisite DirectAccess.

Syntax

New-DAEntryPointTableItem
   [-PolicyStore] <String>
   -EntryPointName <String>
   -ADSite <String>
   -EntryPointRange <String[]>
   [-TeredoServerIP <String>]
   -EntryPointIPAddress <String>
   [-GslbIP <String>]
   [-IPHttpsProfile <String>]
   [-CimSession <CimSession[]>]
   [-ThrottleLimit <Int32>]
   [-AsJob]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-DAEntryPointTableItem
   -EntryPointName <String>
   -ADSite <String>
   -EntryPointRange <String[]>
   [-TeredoServerIP <String>]
   -EntryPointIPAddress <String>
   [-GslbIP <String>]
   [-IPHttpsProfile <String>]
   [-GPOSession] <String>
   [-CimSession <CimSession[]>]
   [-ThrottleLimit <Int32>]
   [-AsJob]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-DAEntryPointTableItem cmdlet 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.

Examples

Example1: Create a new entry point

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"

This cmdlet creates a simple entry point named Paris.

Parameters

-ADSite

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.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-AsJob

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete.

The cmdlet immediately returns an object that represents the job and then displays the command prompt. You can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get the job results, use the Receive-Job cmdlet.

For more information about Windows PowerShell background jobs, see about_Jobs.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

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

Type:CimSession[]
Aliases:Session
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EntryPointIPAddress

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.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EntryPointName

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 (" ").

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EntryPointRange

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}

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-GPOSession

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.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-GslbIP

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IPHttpsProfile

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PolicyStore

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.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TeredoServerIP

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ThrottleLimit

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.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

CimInstance

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