Windows PowerShell 4.0

Windows PowerShell 4.0

Windows PowerShell 4.0 is installed by default Windows Server 2012 R2.
Most IT professionals who have not used PowerShell are scared of this administration and scripting language, because it is different from how they normally work.

PowerShell is a powerful language; it enables simple tasks to be completed more quickly and enables complex tasks to be done with a mouse click.

Before starting your journey in cloud computing, you have to be familiar with basic power shell commands. I am sure you will like PowerShell, as it will allow you to complete tasks in a much easier manner.

Let’s take a look at PowerShell 4.0 and complete basic Hyper-V task

How to start / stop “ITMug01” VM from power shell command

Start-vm ITMug01
Stop-vm ITMug01

In my lab and production servers, I am using a name convention to make my job easier (name convention such as ITMugxx, SmartITxx…etc.). Of course in your infrastructure, you can add additional 2 characters for departments. Examples to this could be, but not limited to: ITmugAC01, ITMugFN0, ITmugIT01 .