Get-WtToken
Get a token for graph
This command will get a token for the graph api. The token is cached, so you can call this as often as you want.\r\n\r\nThis is an authenticated command, so call Connect-WtWinTuner before calling this command.
Syntax
Default parameter set (default)
Get-WtToken [-DecodeToken] [-ShowToken]
Parameter | Req. | Type | Description |
---|---|---|---|
-DecodeToken | ❌ | Switch | Decode the token |
-ShowToken | ❌ | Switch | Output the token to the logs? |
Examples
Get a token
Get token, show details and copy to clipboard
Get-WtToken -DecodeToken | Set-Clipboard