Hi all, hope anybody can help me 
I wrote a little Powershellscript for creating a Login-document for a user. I have a Word .docx Template and just replace some text like 'user_login' or 'user_mail' etc. with the real user data.
The script is working when I start it from my Windows Powershell ISE, but it doesn't work when I start it over ARM Web Client. So I get a 'Job finished successfully' in ARM, but the final file isn't there.
What am I missing?
I created a Share on our ARM Maschine where our ARM-serviceuser has the rights to read/write, so I don't think it's a permission problem?!
And I have a second question:
How can I monitore the output of my Powershellscript?
I wanted to write my -Verbose into a textfile with ' -Verbose 4> file.txt' but this also isn't working.
from ARM I only get the logfiles which contains only the transfered Json File.
do I have to write outputs in my powershellscript with ' Write-Host' ?
Thought Write-Verbose would be better cause I can switch the output on and off.
I would be happy, if anyone can help me 