Set-DAEntryPointTableItem
Set-DAEntryPointTableItem
Modifies the configuration of a DirectAccess entry point stored in a Group Policy object.
Syntax
Parameter Set: ByPolicyStore
Set-DAEntryPointTableItem -PolicyStore <String> [-ADSite <String> ] [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointIPAddress <String> ] [-EntryPointName <String[]> ] [-EntryPointRange <String[]> ] [-GslbIP <String> ] [-IPHTTPsProfile <String> ] [-PassThru] [-State <State[]> ] [-TeredoServerIP <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: __cmdletization_InputObject
Set-DAEntryPointTableItem -InputObject <CimInstance[]> [-ADSite <String> ] [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointIPAddress <String> ] [-EntryPointRange <String[]> ] [-GslbIP <String> ] [-IPHTTPsProfile <String> ] [-PassThru] [-TeredoServerIP <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: ByGpoSession
Set-DAEntryPointTableItem -GPOSession <String> [-ADSite <String> ] [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointIPAddress <String> ] [-EntryPointName <String[]> ] [-EntryPointRange <String[]> ] [-GslbIP <String> ] [-IPHTTPsProfile <String> ] [-PassThru] [-State <State[]> ] [-TeredoServerIP <String> ] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
Set-DAEntryPointTableItem modifies an entry point configuration that is stored in a Group Policy object (GPO). You must specifiy the name of the GPO in which the DirectAccess entry point configuration is stored.
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? |
false |
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? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-EntryPointName<String[]>
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 ( “ ”).
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
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? |
false |
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? |
true (ByPropertyName) |
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 |
-InputObject<CimInstance[]>
Specifies the name of the object which contains the entry point to modify.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
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.
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? |
true (ByPropertyName) |
Accept Wildcard Characters? |
false |
-State<State[]>
This parameter is deprecated.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
true (ByPropertyName) |
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.
Microsoft.Management.Infrastructure.CimInstance#root/StandardCimv2/MSFT_DASiteTableEntry
This cmdlet returns a CIM object which contains the DA entry point table item.
Outputs
The output type is the type of the objects that the cmdlet emits.
- This cmdlet produces no output.
Examples
Example 1: Modify an entry point
This cmdlet modifies the GSLB of the entry point named Paris.
PS C:\> Set-DAEntryTableItem -EntryPointName "Paris" -GslbIP 131.107.0.1 -PolicyStore "Contoso\GPO1"
Example 2: Modify an entry point using an input object
This cmdlet modifies an entry point named Paris by passing an input object on the pipeline.
PS C:\> $x = Set-DAEntryTableItem -EntryPointName "Paris" -PolicyStore "Contoso\GPO1"
PS C:\> $x.GslbIP = 131.107.0.1
PS C:\> $x | Set-DAEntryTableItem