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

Get-DSGatewaySession

Sinossi

Ottenere le sessioni di un gateway

Sintassi

__AllParameterSets

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

Descrizione

Ottenere le sessioni di un gateway. È richiesto il modulo Devolutions Gateway.

Esempi

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

Ottenere tutte le sessioni del gateway specificato.

Parametri

-AsLegacyResponse

Nelle versioni precedenti alla 2024.2, molti cmdlet DS restituivano un oggetto ServerResponse. L'attivazione di questo switch di compatibilità con le versioni precedenti consente agli script sviluppati per le versioni precedenti di funzionare correttamente.

-GatewayID

ID del gateway

CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, veda about_CommonParameters.

Note

Per maggiori informazioni, digiti "Get-Help Get-DSGatewaySession -detailed". Per informazioni tecniche, digiti "Get-Help Get-DSGatewaySession -full".

Ultimo aggiornamento

È stato utile?