Revoke-PSUAppToken
SINOSSI
Revoca un token app.
SINTASSI
Revoke-PSUAppToken [-AppTokenToRevoke] <AppToken> [-ComputerName <String>] [-AppToken <String>]
[-Credential <PSCredential>] [-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIZIONE
Revoca un token app.
ESEMPI
Esempio 1
PS C:\> $AppToken = Get-UAAppToken -Id 1
PS C:\> Revoke-UAAppToken -AppTokenToRevoke $AppTokenRevoca il token app 1.
PARAMETRI
-AppToken
Un token app per accedere all'API PSU.
-AppTokenToRevoke
Il token app da revocare.
-ComputerName
L'indirizzo HTTP del server API REST di PSU.
-Integrated
Esegue il comando internamente anziché utilizzare l'API di gestione. Funziona solo quando lo script viene eseguito all'interno di PowerShell Universal.
-UseDefaultCredentials
Utilizza le credenziali predefinite durante la connessione all'API di gestione
-Credential
Credenziali per accedere all'API di gestione di PowerShell Universal.
-TrustCertificate
Indica se il cmdlet deve ignorare i problemi relativi ai certificati.
-Cookies
Riutilizza e mantiene i cookie di autenticazione per la sessione PowerShell corrente.
CommonParameters
Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable e -ProgressAction. Per maggiori informazioni, veda about_CommonParameters.
INPUT
UniversalAutomation.AppToken
OUTPUT
System.Object
NOTE
LINK CORRELATI
Ultimo aggiornamento
È stato utile?