Get-DAEntryPointTableItem
Gets the list of entry points that have been configured for DirectAccess.
Syntax
ByPolicyStore (Default)
Get-DAEntryPointTableItem
[-EntryPointName <String[]>]
[-State <State[]>]
[-PolicyStore <String>]
[-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>]
[-AsJob]
[<CommonParameters>]
ByGpoSession
Get-DAEntryPointTableItem
[-EntryPointName <String[]>]
[-State <State[]>]
[-GPOSession <String>]
[-CimSession <CimSession[]>]
[-ThrottleLimit <Int32>]
[-AsJob]
[<CommonParameters>]
Description
The Get-DAEntryPointTableItem cmdlet gets the list of entry points that have been configured for DirectAccess. Entry points contain information about the IP addresses to use for connectivity, the IP-HTTPs profile, and other elements that enable connectivity for multisite DirectAccess.
You can use Get-DAEntryPointTableItem to retrieve the list from Group Policy Objects or the local computer's active store.
Examples
Example 1: Get a list of entry points that are not active
PS C:\> Get-DAEntryPointTableItem -PolicyStore "ActiveStore" -EntryPointName "Redmond" -State "NotSelected"
This cmdlet gets a list of entry points from the active store and filters the list to only display the entry points that are not active.
Parameters
-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.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | CimSession[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Session |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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 (" ").
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ByGpoSession
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
The default value for PolicyStore is ActiveStore.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ByPolicyStore
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-State
This parameter is deprecated.
Parameter properties
Type: | State[] |
Default value: | None |
Accepted values: | NotSelected, AutomaticallySelected, ManuallySelected |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | 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.
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
Outputs
Microsoft.Management.Infrastructure.CimInstance Microsoft.Management.Infrastructure.CimInstance
This cmdlet returns a CIM object that contains the DA entry point table item.