Get-DAEntryPointTableItem

Gets the list of entry points that have been configured for DirectAccess.

Syntax

Get-DAEntryPointTableItem
   [-EntryPointName <String[]>]
   [-State <State[]>]
   [-PolicyStore <String>]
   [-CimSession <CimSession[]>]
   [-ThrottleLimit <Int32>]
   [-AsJob]
   [<CommonParameters>]
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.

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

-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:False
Accept pipeline input:True
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:Named
Default value:None
Required:False
Accept pipeline input:True
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.

The default value for PolicyStore is ActiveStore.

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

-State

This parameter is deprecated.

Type:State[]
Accepted values:NotSelected, AutomaticallySelected, ManuallySelected
Position:Named
Default value:None
Required:False
Accept pipeline input:True
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

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.