It’s a very useful code. Sometimes after activating features, installing solutions or anything else you need to make iisreset on all the application servers of your SharePoint farm.