Hi Pär,
You’re amazing 🙂
Thank you for your help you have just saved me so much time.
The data that is output by the CLI is a little different from the CSV but I actually like the condensed data from CLI more.
I went with a Pull/Get method rather then a push (Cron) so if you have Plink installed (It’s Part of Putty) here is the PowerShell code I went with
plink -ssh -i “Yourppk.ppk” [email protected] “wp simple-history list –format=csv –count=100 &” | Out-String | ConvertFrom-Csv
Cheers
Maylife