WFA supports Powreshell as langauge for Command code. While a simple powershell script will be eay to work with for this simplistic case, using WFA is not much complex either. The same script can be run by WFA.
The real strength of WFA is in doing complex automation. Its extremely flexible and you decide what you want to do with it.
Give it a try, you'll begin to like it.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.