I didn't find any examples.
Would be great if someone could provide an example.
Thanks for your patience,
Maybe its late for a reply but we did it like this :
Get your context : $context = New-WSGClientContext -DisplayLabel $datasource -UserName $username -Password $SecurePassword -WsgURL "https://xyz.bentley.com/ws/"
Use is, for example in Invoke-WSGWorkflowCommand : Invoke-WSGWorkflowCommand -DocumentGuid $doc.DocumentGUID -CommandLabel $command -WSGClientContext $context -ReturnDocument
All the commands of the WSG take a context and the other arguments you can find with Get-Help command -full
Hope it wasnt too late to help !
Hi, What kind of account did you use? An Administrator account of a 'logical account' or a IMS-account? Do you need an other or special account?
I got everything working except I was missing credentials. Which is strange, because with -BentleyIMS I have sufficient rights.
I hope you can help.
Hi, I found out that currently it needs a 'logical account'. It looks like that the 'logical username' is also 'case sensitive'.