Get-RemoteAccess

Get-RemoteAccess

Displays the configuration of DirectAccess (DA) and VPN (both Remote Access VPN and site-to-site VPN).

Sintaxis

Parameter Set: Get0
Get-RemoteAccess [[-EntrypointName] <String> ] [-AsJob] [-CimSession <CimSession[]> ] [-ComputerName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Descripción detallada

The Get-RemoteAccess cmdlet displays the configuration of DirectAccess (DA) and VPN (both Remote Access VPN and site-to-site VPN).

The output consists of the following. If a certain Remote Access technology (RA) is not installed, then only the computer status is displayed.
-- Status of DA.
-- Status of VPN.
-- Status of site-to-site VPN.
-- Status of Load Balancing.
-- DA global configuration: Comprises of properties that are applicable to the entire DA deployment.
-- DA server level or cluster level (if load balancing has been deployed) configuration. If multi-site is deployed, then this configuration is applicable at the site-level and configuration for the specified site is displayed.
-- DA pure server and cluster level configuration: This configuration is not impacted by multi-site deployment.
-- VPN server or cluster level configuration. If multi-site is deployed, then this configuration is applicable at the site-level and configuration for the specified site is displayed.
-- VPN pure server level configuration: This configuration is not impacted by multi-site deployment.

In a multi-site deployment if both the EntryPointName and ComputerName parameters are specified but the computer name does not belong to that entry point name, then no values are returned for the pure server-level DA and VPN (both Remote Access VPN and site-to-site VPN)configuration. The configuration will show up blank. However, if only the EntryPointName parameter is specified or the ComputerName parameter is also specified and belongs to the specified entry point name, then the pure server-level DA and VPN configuration are retrieved if the server on which the cmdlet is run belongs to this entry point. If not, then blanks are returned.

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

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ComputerName<String>

Specifies the IPv4 or IPv6 address, or host name, of the computer on which the remote access server computer specific tasks should be run.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-EntrypointName<String>

Specifies the identity of a site in a multi-site deployment. If this parameter is not specified, then the site to which the computer on which this cmdlet is run is used (the user may or may not be specifying a computer name).

Alias

ninguno

¿Requerido?

false

¿Posición?

2

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

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

  • None

Salidas

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

  • Microsoft.Management.Infrastructure.CimInstance#RemoteAccessCommon

    El objeto Microsoft.Management.Infrastructure.CimInstance es una clase contenedora que muestra objetos de Instrumental de administración de Windows (WMI). La ruta de acceso después del signo de número (#) proporciona el espacio de nombres y el nombre de clase del objeto WMI subyacente.
    The RemoteAccessCommon object consists of the following properties:
    -- The status of the DA and VPN configuration.
    -- The entire VPN configuration.
    -- The entire DA configuration.
    -- The configuration common to both VPN and DA.

Ejemplos

EXAMPLE 1

This example displays the configuration of DA and VPN for the local computer.

PS C:\> Get-RemoteAccess

Temas relacionados

Install-RemoteAccess

Set-RemoteAccess

Uninstall-RemoteAccess