AndrewPla / TOPdeskPS

PowerShell module to interact with the TOPdesk API
MIT License
30 stars 12 forks source link

How To Connect To TD in PS Script #119

Open boatbuys opened 3 years ago

boatbuys commented 3 years ago

The connection to the TD appears to remain interactive even when passing an application cred... a login box pops up with the application cred in the user field and nothing in the password field. The goal is to have this run in an unattended PS script on a scheduled task. What is the command to make the connection when unattended and not have some interactive prompt? If using an operator credential instead of an application cred, what is the format to pass the username and pass in the command line to avoid any interactive login box appear? Perhaps I am not reading your examples correctly? Can you provide two examples of connection with either an op user/pass or application cred in a script that unattended? Thanks! Great library just need help making this non-interactive.