Get-DSGateway
Sinopsis
Obtener gateways
Sintaxis
GetByID
Get-DSGateway -GatewayID <guid> [-AsLegacyResponse] [<CommonParameters>]Nombre
Get-DSGateway -Name <string> [-AsLegacyResponse] [<CommonParameters>]Todos
Get-DSGateway -All [-AsLegacyResponse] [<CommonParameters>]Descripción
Obtenga uno o varios gateways. Se requiere el módulo de Devolutions Gateway.
Ejemplos
Ejemplo 1
PS C:\> $gateways = Get-DSGateway -All;
$gateways = $response.DataObtener todos los gateways.
Ejemplo 2
Obtener el gateway denominado "A Common Name".
Parámetros
-All
Obtener todos los gateways.
-AsLegacyResponse
En versiones anteriores a la 2024.2, muchos cmdlets de DS devolvían un objeto ServerResponse. Al activar este modificador de retrocompatibilidad, los scripts desarrollados para versiones anteriores pueden funcionar correctamente.
-GatewayID
ID del gateway que se desea obtener.
-Name
Nombre del gateway que se desea obtener.
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-DSGateway -detailed". Para obtener información técnica, escriba "Get-Help Get-DSGateway -full".
Última actualización
¿Te fue útil?