Jump to content
MGH

LTServer Write to File

Recommended Posts

I'm running a script on multiple systems to capture data about them. Specifically members of the local administrators group and send it to file. In a powershell script I am capturing data to a comma delimited variable. When I write the variable contents to a file on the PC, its perfect. If I used LTServer Write to File to put the data on my automate server, the file is written with an 80 character limit. Basically the output is returned over 3 lines instead of a single line. 

Primary question:  Any ideas how to get LTServer Write to file to put everything on one line?

Additional question: There seems to be a blank line at the end of the data when using LTServer Write to File... any idea how to remove that? (I can do it, just wondering if it can be done when using the function.)

Thanks for the help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×