< Back
Get-ItGlueJsonWebToken
Post
NAME Get-ItGlueJsonWebToken
SYNOPSIS
SYNTAX
Get-ItGlueJsonWebToken [-Credential] <PSCredential> [-ItGlueUriBase] <String> [[-EventLogSource] <String>]
[[-LogPath] <String>] [<CommonParameters>]
DESCRIPTION
Accept a PowerShell credential object and use it to generate a JSON web token for authentication to the ITGlue API.
PARAMETERS
-Credential <PSCredential>
ITGlue credential object for the desired local account.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ItGlueUriBase <String>
Base URL for the ITGlue customer.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EventLogSource <String>
When included, (and when LogPath is null), represents the event log source for the Application log. If no
event log source or path are provided, output is sent only to the host.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LogPath <String>
When included (when EventLogSource is null), represents the file, to which the cmdlet will output will be
logged. If no path or event log source are provided, output is sent only to the host.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
V1.0.0.0 date: 28 February 2019
- Initial release.
V1.0.0.1 date: 2 April 2019
- Updated in-line documentation.
V1.0.0.2 date: 24 May 2019
- Updated formatting.
- Updated date calculation.
V1.0.0.3 date: 18 July 2019
V1.0.0.4 date: 25 July 2019
V1.0.0.5 date: 1 August 2019
V1.0.0.6 date: 6 August 2019
V1.0.0.7 date: 11 December 2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ItGlueJsonWebToken -Credential (Get-Credential) -ItGlueUriBase https://company.itglue.com -Verbose
In this example, the cmdlet connects to https://company.itglue.com and generates an access token for the user
specified in Get-Credential. Verbose output is sent to the host.
RELATED LINKS
SYNOPSIS
SYNTAX
Get-ItGlueJsonWebToken [-Credential] <PSCredential> [-ItGlueUriBase] <String> [[-EventLogSource] <String>]
[[-LogPath] <String>] [<CommonParameters>]
DESCRIPTION
Accept a PowerShell credential object and use it to generate a JSON web token for authentication to the ITGlue API.
PARAMETERS
-Credential <PSCredential>
ITGlue credential object for the desired local account.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ItGlueUriBase <String>
Base URL for the ITGlue customer.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EventLogSource <String>
When included, (and when LogPath is null), represents the event log source for the Application log. If no
event log source or path are provided, output is sent only to the host.
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LogPath <String>
When included (when EventLogSource is null), represents the file, to which the cmdlet will output will be
logged. If no path or event log source are provided, output is sent only to the host.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
V1.0.0.0 date: 28 February 2019
- Initial release.
V1.0.0.1 date: 2 April 2019
- Updated in-line documentation.
V1.0.0.2 date: 24 May 2019
- Updated formatting.
- Updated date calculation.
V1.0.0.3 date: 18 July 2019
V1.0.0.4 date: 25 July 2019
V1.0.0.5 date: 1 August 2019
V1.0.0.6 date: 6 August 2019
V1.0.0.7 date: 11 December 2019
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ItGlueJsonWebToken -Credential (Get-Credential) -ItGlueUriBase https://company.itglue.com -Verbose
In this example, the cmdlet connects to https://company.itglue.com and generates an access token for the user
specified in Get-Credential. Verbose output is sent to the host.
RELATED LINKS