< Back

Connect-TechDataAdminAccount

Sun Jan 12, 2020 3:15 pm

NAME Connect-TechDataAdminAccount



SYNOPSIS

This function establishes a connection with the Tech Data server using admin account credentials or a MSPComplete

Endpoint.





SYNTAX

Connect-TechDataAdminAccount -url <String> -clientID <String> -clientSecret <String> -grantType <String> -soin

<String> [<CommonParameters>]



Connect-TechDataAdminAccount -endpoint <Object> [<CommonParameters>]





DESCRIPTION

This function establishes a connection with the Tech Data server using admin account credentials or a MSPComplete

Endpoint.

It returns if the connection was successful, false otherwise.





PARAMETERS

-url <String>

The Tech Data authentication URL.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-clientID <String>

The Tech Data client ID.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-clientSecret <String>

The Tech Data client secret.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-grantType <String>

The Tech Data grant type.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-soin <String>

The Tech Data StreamOne Identification Number (SOIN)



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-endpoint <Object>

The MSPComplete Endpoint containing the Tech Data authentication URL as its "Url" property, the

Tech Data client ID, client secret and grant type, and SOIN as

"ClientID", "ClientSecret", "GrantType" and "SOIN" extended properties



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Connect-TechDataAdminAccount -Endpoint $Endpoint













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>$Endpoint | Connect-TechDataAdminAccount













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Connect-TechDataAdminAccount -Url $url -ClientID $clientID -ClientSecret $clientSecret -GrantType

$grantType -Soin $soin















RELATED LINKS