Remove-DAEntryPointTableItem

Remove-DAEntryPointTableItem

Removes a DirectAccess entry point from the specified configuration store.

Sintaxis

Parameter Set: ByPolicyStore
Remove-DAEntryPointTableItem -PolicyStore <String> [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointName <String[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByGpoSession
Remove-DAEntryPointTableItem -GPOSession <String> [-AsJob] [-CimSession <CimSession[]> ] [-EntryPointName <String[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: InputObject (cdxml)
Remove-DAEntryPointTableItem -InputObject <CimInstance[]> [-AsJob] [-CimSession <CimSession[]> ] [-PassThru] [-ThrottleLimit <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

Remove-DAEntryPointTableItem removes a DirectAccess entry point from the specified configuration store. You must specify both the configuration store, by using either GPOSession or PolicyStore, and name of the entry point to remove.

Parámetros

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

Session

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-EntryPointName<String[]>

Specifies the name of the entry point to remove. This parameter supports wildcards.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-GPOSession<String>

Specifies the Group Policy session from which to read 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.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-InputObject<CimInstance[]>

Passes the object that contains the entry point to be deleted.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

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.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-PolicyStore<String>

Specifies the policy store from which the cmdlet retrieves the entry point information.

To retrieve the entry point information from a Group Policy Object, specify the GPO name using the following format: "Domain\GPOName"

To retrieve the entry point information from 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.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ThrottleLimit<Int32>

Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

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

    This cmdlet accepts as input a CIM object which contains a DA site table entry.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • This cmdlet returns no output.

Ejemplos

Example 1: Remove an entry point by using the pipeline

This cmdlet removes the entry point named Redmond by first getting the entry point information using Get-DAEntryPointTableItem and then passing the information to Remove-DAEntryPointTableItem.

PS C:\> Get-DAEntryPointTableItem -EntryPointName "Redmond" -PolicyStore "Contoso\GPO1" | Remove-DAEntryPointTableItem

Example 2: Remove an entry point directly

This cmdlet removes an entry point named Redmond by using specifying the EntryPointName and PolicyStore.

PS C:\> Remove-DAEntryPointTableItem  -EntryPointName "Redmond" -PolicyStore "Contoso\GPO1"

Temas relacionados

New-DAEntryPointTableItem

Get-DAEntryPointTableItem

Set-DAEntryPointTableItem

Reset-DAEntryPointTableItem

Rename-DAEntryPointTableItem