How To Write A Command Line Script . Writing a windows batch script. This is the first line of the script. PowerShell Script Blocks Stephanos Constantinou Blog from www.sconstantinou.com Next, save the file by clicking file > save. Upload on pypi and publish your package. The bash interpreter reads each line and executes the update command followed by the upgrade command.