Get-DSGateway
Sinossi
Ottenere i gateway
Sintassi
GetByID
Get-DSGateway -GatewayID <guid> [-AsLegacyResponse] [<CommonParameters>]Name
Get-DSGateway -Name <string> [-AsLegacyResponse] [<CommonParameters>]All
Get-DSGateway -All [-AsLegacyResponse] [<CommonParameters>]Descrizione
Ottenere uno o più gateway. È richiesto il modulo Devolutions Gateway.
Esempi
Esempio 1
PS C:\> $gateways = Get-DSGateway -All;
$gateways = $response.DataOttenere tutti i gateway.
Esempio 2
Ottenere il gateway denominato "A Common Name".
Parametri
-All
Ottiene tutti i gateway.
-AsLegacyResponse
Nelle versioni precedenti alla 2024.2, molti cmdlet DS restituivano un oggetto ServerResponse. L'attivazione di questo switch di retrocompatibilità consente il corretto funzionamento degli script sviluppati per le versioni precedenti.
-GatewayID
ID del gateway da recuperare.
-Name
Nome del gateway da recuperare.
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-DSGateway -detailed". Per informazioni tecniche, digiti "Get-Help Get-DSGateway -full".
Ultimo aggiornamento
È stato utile?