Why writing PowerShell script
This is one of the most interesting question about writing in PowerShell script... why we need it? PowerShell was released in 2006 and I have no interest in it for so many years until I was doing the repeating works on many servers. This includes installing applications into many servers, updating the servers, checking the server health, checking the database backup, reviewing the event logs, ... all repetitive tasks should be done and can be done better with scheduled program. Here's some reasons why you need to write script with PowerShell: Consistency issue - installing web applications into IIS by using PowerShell - as a result, the application pool name, folder permission will be definitely looks the same. No more issue with typo error or application name with different upper and lower cases. The web application setup in all server will be consistent. No more naming issue. No more directory structure issue (because the script must work for the same directory structure which fo...