Set-DAEntry Point Table Item

Modifies the configuration of a DirectAccess entry point stored in a Group Policy object.

Syntax

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

Description

The Set-DAEntryPointTableItem cmdlet modifies an entry point configuration that is stored in a Group Policy object (GPO). You must specify the name of the GPO in which the DirectAccess entry point configuration is stored.

Examples

Example 1: Modify an entry point

PS C:\> Set-DAEntryTableItem -EntryPointName "Paris" -GslbIP "131.107.0.1" -PolicyStore "Contoso\GPO1"

This cmdlet modifies the GSLB of the entry point named Paris.

Example 2: Modify an entry point using an input object

PS C:\> $x = Set-DAEntryTableItem -EntryPointName "Paris" -PolicyStore "Contoso\GPO1"
PS C:\> $x.GslbIP = 131.107.0.1
PS C:\> $x | Set-DAEntryTableItem

This cmdlet modifies an entry point named Paris by passing an input object on the pipeline.

Required Parameters

-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: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type: CimInstance[]
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
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 format: "Domain\GPOName".

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

PolicyStore cannot be used in conjunction with GPOSession .

Type: String
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

Optional 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
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
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
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
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
Accept pipeline input: False
Accept wildcard characters: False
-EntryPointName

Specifies the name of the entry point to modify. 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
Accept pipeline input: True (ByPropertyName)
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
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
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
Accept pipeline input: False
Accept wildcard characters: False
-PassThru

Sends items from an interactive window down the pipeline as input to other cmdlets. By default, this cmdlet does not generate any output. However, to send items from the interactive window down the pipeline, click to select the items and then click OK. Shift-click and Ctrl-click are supported.

Type: SwitchParameter
Position: Named
Default value: None
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
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
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
Accept pipeline input: False
Accept wildcard characters: False

Inputs

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

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

Outputs

This cmdlet produces no output.