Powershell : File generation

Categories: Blog

  1..5 | % { New-Item -Path c:\fso -Name “$_.txt” -Value (Get-Date).toString() -ItemType file} Borrowed from :┬áhere

Powershell : WinSCP

Categories: Blog

WinSCP has a series of inbuilt libraries to help keep a remote site synchronised with a local site. You will need WinSCP (obviously) and winscp.ino as well as WINSCPnet.dll. I adapted the code a little more than listed here, but the premise is the same. function Sync { param ( # Use Generate URL function […]