For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-DSGatewaySession

Sinopsis

Obtener las sesiones de un gateway

Sintaxis

__AllParameterSets

Get-DSGatewaySession -GatewayID <guid> [-AsLegacyResponse] [<CommonParameters>]

Descripción

Obtener las sesiones de un gateway. Se requiere el módulo de Devolutions Gateway.

Ejemplos

PS C:\> $response = Get-DSGatewaySession -GatewayID "08a521fe-14f7-4ae5-b2b9-d9f6164c15e8" -AsLegacyResponse;
        $gateway  = $response.Data;
        $gwSessions -GatewayID $gateway.Id

Obtener todas las sesiones del gateway especificado.

Parámetros

-AsLegacyResponse

En versiones anteriores a 2024.2, muchos cmdlets de DS devolvían un objeto ServerResponse. Habilitar este modificador de retrocompatibilidad permite que los scripts desarrollados para versiones anteriores funcionen correctamente.

-GatewayID

ID del gateway

CommonParameters

Este cmdlet admite los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction y -WarningVariable. Para más información, consulte about_CommonParameters.

Notas

Para más información, escriba "Get-Help Get-DSGatewaySession -detailed". Para obtener información técnica, escriba "Get-Help Get-DSGatewaySession -full".

Última actualización

¿Te fue útil?