Unable to login to orchestrator from powershell command

Hi @brij.sharma @marian.platonov,

Thank you both for replying my topic. I think we are talking different method of using Powershell.

I was exploring UiPath/orchestrator-powershell library.

I have provided parameter as per the guide. seems like modules might have been updated but not the guide. First 2 example also doesnt work.

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

Get-UiPathAuthToken -URL https://platform.uipath.com -Username <myuser> -Password <mypassword>

Connect to UiPath public platform Orchestrator, using user name and password.
----------  EXAMPLE 2  ----------

Get-UiPathAuthToken -URL https://platform.uipath.com -Username <myuser> -Password <mypassword> -Session

Connect to UiPath public platform Orchestrator, using user name and password and save the token for the current 
session.

I will try again, when I get some chance.

Thank you once again.