This is a followup to the discussion started in "In Need of a New Apple Computer."
Ben asked if Windows 10 scripting features had improved, because he likes what the Mac offers. I don't do scripting myself, but I do believe that this articleexplains the current state of Windows 10's abilities - and they're identical to Apple's, because it's the same Unix utility, called Bash.
Ben, if you care to comment?
Edit: Re-reading the article, I guess it's not a direct import from Apple, but from Linux. Still, it may do what you need, if the Mac Unix scripting is compatible with Linux.