Compartilhar via


Get-DAEntryPointTableItem

Get-DAEntryPointTableItem

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

Syntax

Parameter Set: ByPolicyStore
Get-DAEntryPointTableItem [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointName <String[]> ] [-PolicyStore <String> ] [-State <State[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: ByGpoSession
Get-DAEntryPointTableItem [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointName <String[]> ] [-GPOSession <String> ] [-State <State[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Detailed Description

Get-DAEntryPointTableItem retrieves 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.

Parameters

-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

-EntryPointName<String[]>

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 ( “ ”).

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

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?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

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.

The default value for PolicyStore is ActiveStore.

Aliases

none

Required?

false

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

-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

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

  • This cmdlet has no input objects.

Outputs

The output type is the type of the objects that the cmdlet emits.

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

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

Examples

Example: Retrieve a list of entry points that are not active

This cmdlet retrieves a list of entry points from the active store and filters the list to only display the entry points that are not active.

PS C:\> Get-DAEntryPointTableItem -PolicyStore –ActiveStore –EntryPointName “Redmond” –State “NotSelected” 

New-DAEntryPointTableItem

Set-DAEntryPointTableItem

Reset-DAEntryPointTableItem

Rename-DAEntryPointTableItem

Remove-DAEntryPointTableItem