Get-AdfsClient
Get-AdfsClient
Retrieves registration information for an OAuth 2.0 client.
Sintaxis
Parameter Set: Name
Get-AdfsClient [[-Name] <String[]> ] [ <CommonParameters>]
Parameter Set: ClientId
Get-AdfsClient [-ClientId] <String[]> [ <CommonParameters>]
Parameter Set: InputObject
Get-AdfsClient [-InputObject] <AdfsClient> [ <CommonParameters>]
Descripción detallada
The Get-AdfsClient cmdlet retrieves registration information for an OAuth 2.0 client that was previously registered with Servicios de federación de Active Directory (AD FS).
Parámetros
-ClientId<String[]>
Specifies an array of client identifiers for the OAuth 2.0 client for which to retrieve registration information.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-InputObject<AdfsClient>
Specifies an object of type AdfsClient that represents an OAuth 2.0 client for which to retrieve registration information.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue) |
¿Aceptar caracteres comodín? |
false |
-Name<String[]>
Specifies the name of the OAuth 2.0 client for which to retrieve registration information.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿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.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- System.Object
Ejemplos
Example 1: Retrieve registration information for all clients
This command retrieves registration information for all OAuth 2.0 clients currently registered withAD FS.
PS C:\> Get-AdfsClient
Example 2: Retrieve registration information by client name
This command retrieves registration information for the OAuth 2.0 client named Device Registration Client.
PS C:\> Get-AdfsClient -Name "Device Registration Client"
Example 3: Retrieve registration information by client ID
This command retrieves registration information for the OAuth 2.0 client specified by the client identifier dd762716-544d-4aeb-a526-687b73838a22.
PS C:\> Get-AdfsClient -ClientId "dd762716-544d-4aeb-a526-687b73838a22"