ConvertTo-UDJsonWebToken

Product: PowerShell Universal
Version: 1.4.4

Hi,

I’m still trying to understand Universal, but I’ve managed to install it using the MSI and script against it using VS Code.
I’m trying to use the ConvertTo-UDJsonWebToken to read a JSON web token, but when I run below:

Import-Module “C:\Program Files (x86)\Universal\Cmdlets\Universal.psd1” -Verbose

ConvertTo-UDJsonWebToken -Token ‘asdfas3asdfas=’

I get:
‘ConvertTo-UDJsonWebToken’ is not recognized as the name of a cmdlet, function, script file, or operable program.

Hi @Berki,

We aren’t exposing that cmdlet in PSU at the moment. Are you looking to gather info from app tokens in your dashboard?

Yes, I was going to get the username from it, but its fine.
I’ve managed to get another function that decrypts it.
Thanks Adam

1 Like