I am new to power shell scripting.
There are certain repetitive tasks which I am planning to automate through power shell script.
which involves copying certain lines from the main frame screen/console to word document locally by logging to the mainframe remotely.
Currently we are doing it manually using shift+arrow keys(to select the lines on the screen), ctrl+C and ctrl+V commands(for copying the text).
My query : is it possible to copy the screen content using power shell script, If possible please let me know how this can be done.
Thanks in advance.