I'm writing a new backup script in PowerShell to back up our Azure SQL.
After the backup, I need to write into a logfile on a remote Linux server.
I thought about using plink (the PuTTY command line tool). More or less like this:
plink user@server /var/log/logfile<"TEXT"
However, most of you will remark that this isn't possible, and I also learned this :)
Is there no easy way to add a line of text to an existing file on a remote Linux system using plink?