Get-DANetworkLocationServer

Get-DANetworkLocationServer

Displays the detailed Network Location Server (NLS) configuration.

Sintaxis

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

Descripción detallada

The Get-DANetworkLocationServer cmdlet displays the detailed Network Location Server (NLS) configuration.

Configuration consists of the following.
-- Where the NLS is present, such as on DirectAccess (DA) Server or some other external server.
-- URL, if the NLS is present on a different server.
-- Whether the NLS is reachable or if it is configured on a different server.
-- NLS Certificate, if the NLS is present on the DA server.
-- Reachability: If the NLS is present on an external server, then is it reachable. If the CheckReachability parameter is specified, then this configuration is populated.

The configuration returned is applicable, globally, to the entire deployment.

Parámetros

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CheckReachability

Performs a reachability check to the specified URL.

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

-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#DANetworkLocationServer

    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 object consists of the following properties:
    -- Where the NLS is configured: on the DA server or on a different server.
    -- If NLS is configured on a different server: the URL used to detect whether a remote computer is inside or outside the corporate network.
    -- The certificate used for NLS if it is configured on the DA server.
    -- If the NLS is on a different server, then whether the URL is reachable or not.

Ejemplos

EXAMPLE 1

This example gets the NS configuration for the DA deployment. In this case since the DA Server is hosting the NLS, the NLS Location is shown to be DA Server. The output also shows the SSL certificate which is being used by NLS.

PS C:\> Get-DANetworkLocationServer -CheckReachability

Temas relacionados

Set-DANetworkLocationServer