In my script I ask the user for a variable called asset $asset=Read-Host "Please enter the asset tag"
I am trying to use my powershell script to send a specific line of text to a window. The window name is always a cmd window with a name like " \\<asset>: cmd
"
Im not sure if this was possible but I was going to try and use sendkeys to have a line like "\network\path\name of file.cmd"
Can I do this?