Skip to main content

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]
ParameterReq.TypeDescription
-DecodeTokenSwitchDecode the token
-ShowTokenSwitchOutput the token to the logs?

Examples

Get a token

Get token, show details and copy to clipboard

Get-WtToken -DecodeToken | Set-Clipboard