GetPreAuthenticatedRemoteControlLinkWsBlob

Modified on Fri, 17 Nov 2023 at 04:16 PM

Utility method for remote control. It uses NTLM authentication to create an access token that RCViewer can then use for authentication.

For ease of use, you need to import the Console-API-Module.

All documentation can also be seen in the API Module.

 


Parameter:Description:
uri


string, optional
web Service URL
e.g.: http://coreservername/five9sWS/five9sWS.asmx
pat

string, mandatory
the Personal Access Token
computerIdn


int, mandatory
identifier for the device
e.g.10
 


Get started with the following PowerShell:
Import-Module $PSScriptRoot\Console-API-Module.psm1 -Verbose #you need to execute this line once, so that powershell can offer intelliSense support

# Arrange the parameters
$wsdlUrl = "http://coreserver/five9sWS.asmx?wsdl" # web service URL, you need to replace the 'coreserver' with your actual value
$pat = "879067F0F16_YourPatHere_024214A4"
$computerIdn = 10

# Action
Invoke-GetPreAuthenticatedRemoteControlLinkWsBlob -uri $wsdlUrl -pat $pat -computerIdn $computerIdn

The result from the request will look like this:

Returns an RC access link with ip or host name, port, path and parameters.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article