Node type error with Start-Job

New Contributor

Hi all,

I have a lot of PS-scripts, which have to be startet and monitored. I do this with an extra 'Start-Script' via Start-Job/ Get-Job/ Receive-Job.

It works fine for 15 of my scripts.

But I have other scripts that communicate with web servers and need to register to do so.

I saved the credentials encrypted in files and the single script runs fine when I start it directly.
But when I start it with 'Start-Job', it shows the following error: An element with the node type 'text' cannot be processed. Only the node types 'element' and 'end element' are processed.

Is there a problem with the registrations or where does the error come from?

What am I doing wrong?

Thanks for every help.

0 Replies