For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-DSEntryOTP

Sintesi

Ottiene un PSObject contenente il codice OTP con il tempo rimanente di una voce OTP e l'ora di fine corrispondente (UTC)

Sintassi

__AllParameterSets

Get-DSEntryOTP [-EntryID] <guid> [-AsLegacyResponse] [<CommonParameters>]

Descrizione

Ottiene un PSObject contenente il codice OTP con il tempo rimanente di una voce OTP e l'ora di fine corrispondente (UTC). La voce deve essere specificata tramite il suo ID.

Esempi

PS C:\> $response = Get-DSEntryOTP -EntryID '12345678-1234-1234-1234-123456789ABC'
        $otpCode = $response.code

Ottiene il codice OTP della voce il cui ID è '12345678-1234-1234-1234-123456789ABC'

Parametri

-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.

-EntryID

ID della voce per la quale si desidera recuperare l'OTP

CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, consulti about_CommonParameters.

Note

Per maggiori informazioni, digiti "Get-Help Get-DSEntryOTP -detailed". Per informazioni tecniche, digiti "Get-Help Get-DSEntryOTP -full".

Ultimo aggiornamento

È stato utile?