[This post was originally posted on my personal blog, http://simplystallings.com]
At work, we manually patch our web servers. Part of the process requires ftping the updates to each server. This process is tedious considering the number of web servers and number of steps required. I decided this past patch Tuesday that I would invest a little time into automating the process using powershell.
I located a simple ftp upload script located @ http://poshcode.org/1134. With a few modifications I had my script:
I added an array that contains the ftp URL syntax for each web server then I iterate over the array using a for loop. Continue reading Simple powershell automated FTP upload script