Again I will mimic a Scripting Guy article here in PowerShell, only this time from the Sesame Script series : Sesame Script: Scripting Text Files Preamble As this entry also was written as a training for the International Winter Scripting Games , And