2
Import-Module 'Posh-SSH'
$ishBaseUrl = "https://<link>"
$ishUsername = "<username>"
$ishPassword = "<password>"
$targetOutputName = "DocPortal"
echo "" ; "Job started: $(Get-Date)" ; ""
$ishSession = New-IshSession -WsBaseUrl $ishBaseUrl -IshUserName $ishUsername -IshPassword $ishPassword
2
  • 1
    Welcome to Tridion StackExchange, Pavan. I'm afraid your question isn't very clear and so is currently hard to answer. I believe an actual error and ideally a stack trace would help greatly. Could you check the logs (event log and the logs on the service it is connecting to) and also repeat the command with the -Verbose parameter? Then add as much detail to your question as you can. Aug 28, 2018 at 8:53
  • Sounds like this is a Tridion docs question rather Tridion sites. I'll ping some people at SDL.
    – Nuno Linhares
    Sep 3, 2018 at 8:49

1 Answer 1

2

The question is regarding https://github.com/sdl/ISHRemote/ which is a business automation module on top of Tridion Docs. As of our combined Tridion DX messsage, we might see more Docs-oriented questions appear.

Regarding the error message "One or more errors occurred", this is the generic message you get when the code for some reason triggers a "System.AggregrateException".

Assuming you use the latest available version of ISHRemote, you could add -debug and -verbose to the New-IshSession call so we see more verbose logging.

Now in the meanwhile, you might have workaround your problem, happy to hear how you resolved this one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.