why powershell for c# developers

2
Why Powershell for C# developers? DRY – Don’t Repeat Yourself. Let us list down the tasks that we do daily/once in a while as a developer other than coding: Open Visual Studio, Sql server management studio, browser etc Login to development server/build server/other servers Checking application log file, event log, registry, path variable Checking installed software’s and their versions Checking configuration files Checking assembly version Small steps/configurations that need to be done, only few team member knows :( How many times do we open taskmanager daily? Anything we do daily with any GUI, is it worth to automate it? Is there a way to automate it?

Upload: manikandan-venkatasubban

Post on 07-Aug-2015

37 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Why powershell for C# developers

Why Powershell for C# developers?DRY – Don’t Repeat Yourself.

Let us list down the tasks that we do daily/once in a while as a developer other than coding:

Open Visual Studio, Sql server management studio, browser etcLogin to development server/build server/other serversChecking application log file, event log, registry, path variableChecking installed software’s and their versionsChecking configuration filesChecking assembly versionSmall steps/configurations that need to be done, only few team member knows :(How many times do we open taskmanager daily?

Anything we do daily with any GUI, is it worth to automate it? Is there a way to automate it?

Page 2: Why powershell for C# developers

Why Powershell for C# developers?For Windows developers, it’s never the same like UNIX developers. But now microsoft ensures that without powershell, it’s a stop-ship for any server product. So we will always have powershell to do automation.We have set of repetitive tasks, and if we could spend sometime, could be automated and then life will be easier for every developer and for the entire project.Things like checking currently running processes and their memory consumption in the dev server, sending an alert to dev team.As investors do “Make their money work for them even while sleeping”, as a developer, make our tools work for us even when we sleep.Now with powershell, Windows provides capabilities like UNIX systems, a rich, friendly, powerful command line. Do it once and get lazy :)  There are already lot of re-usable scripts available. We can customize it for our purpose and then re-use it.