Obtenir une table de hachage du code OTP avec le temps restant d'une entrée OTP
Get-RDMEntryOTP [-ID] <guid> [-Comment <string>] [-TicketID <string>] [-PasswordListItemID <guid>]
[-VaultMode <VaultMode>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
Get-RDMEntryOTP [-InputObject] <PSConnection> [-Comment <string>] [-TicketID <string>]
[-PasswordListItemID <guid>] [-ForcePromptAnswer <DialogResult[]>] [<CommonParameters>]
Get a hastable of the OTP code with the remaining time of an OTP entry. To obtain the OTP code, the user must be able to copy it. Generally, this means the right to view it. The status of the entry, such as Locked or Expired, can also prevent the obtention of the OTP code. If the workspace required a prompt on credentials viewed, the user will be prompted for each required field. To avoid this, the TicketID and Comment parameters must be used.
PS C:\> $otp = Get-RDMEntry -Name MyOTPEntry | Get-RDMEntryOTP;
$otp.Code
Obtenir le code OTP de l'entrée MonEntréeOTP
Commentaire pour le journal des identifiants consultés.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Commutateur à utiliser avec précaution. Il répondra automatiquement aux invites demandant oui/non, oui/non/annuler ou OK/annuler. En cas de plusieurs invites, plusieurs valeurs peuvent être passées à ce paramètre. Voici les valeurs acceptées :
Oui : Accepter l'invite. Couvrir la valeur OK et automatique.
Non : Refuser l'invite oui/non/annuler. "Annuler" est l'option de repli s'il n'y a pas d'option "Non".
Annuler : Annuler l'invite oui/non/annuler. "Non" est l'option de repli s'il n'y a pas d'option "Annuler".
Type: System.Windows.Forms.DialogResult[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
ID de l'entrée à modifier. Utiliser le paramètre VaultMode pour rechercher dans le coffre utilisateur ou le coffre global.
Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Id
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Spécifier l'entrée de laquelle obtenir l'OTP.
Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSConnection
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Session
ParameterSets:
- Name: InputObject
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Pour la liste des mots de passe, l'ID de l'élément à résoudre.
Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Numéro de billet pour le journal des crédentiels visualisés
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Coffre où la commande sera appliquée. Trois choix sont proposés :
Défaut : Coffre actuel qui a été défini.
Utilisateur : Coffre spécifique à l'utilisateur actuel.
Global: Global vault of the workspace.
Type: Devolutions.RemoteDesktopManager.VaultMode
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: Id
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Cette applet de commande prend en charge les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. Pour plus d'informations, voir about_CommonParameters.
Objet PSConnection de l'entrée OTP obtenue à partir de Get-RDMEntry
Pour plus d'informations, taper "Get-Help Get-RDMEntryOTP -detailed". Pour des informations techniques, taper "Get-Help Get-RDMEntryOTP -full".