Learn PowerShell (my way)!! Part 1

Lesson 1 : Learn it yourself!

Check out Part 2

Folks, though I am not an expert I managed to automate the stuff i require, many of my friends wonders ‘how to learn powershell scripting’. To me there is no one else other than you teach you better, you will get the scripting fire on you only when you do the first script yourself. NOT A JOKE!

Below might be some help for you guys, incase if you have that thing that inspire you to do PowerShell scripting, I do Powershell scripting my way, I never learnt it from a class room, my way might be so different, strange or unconventional since I learnt it my way, which I have done it the way earlier or googling the stuff I require or satisfy my requirement

Before proceeding to my way, some background of Powershell !

Powershell Versions

With first official version of Powershell released on 2006 November available on Windows 2003/XP SP2 or higher, there are lots of major additions and improvements around the Powershell and cmdlets.

Below table of Powershell Version available.

PowerShell Version

Default on Windows

Available on Windows

PowerShell 1.0

Windows Server 2008

Windows XP SP2

Windows XP SP3

Windows Server 2003 SP1

Windows Server 2003 SP2

Windows Server 2003 R2

Windows Vista

Windows Vista SP2

PowerShell 2.0

Windows 7

Windows Server 2008 R2

Windows XP SP3

Windows Server 2003 SP2

Windows Vista SP1

Windows Vista SP2

Windows Server 2008 SP1

Windows Server 2008 SP2

PowerShell 3.0

Windows 8

Windows Server 2012

Windows 7 SP1

Windows Server 2008 SP2

Windows Server 2008 R2 SP1

PowerShell 4.0

Windows 8.1

Windows Server 2012 R2

Windows 7 SP1

Windows Server 2008 R2 SP1

Windows Server 2012

PowerShell 5.0

Windows 10

Windows 8.1

Windows Server 2012 R2

Where do I script the powershell scripts?

There are few tools that enable you create powershell scripting, PowerShell ISE, PowerGUI or Notepad++

Powershell ISE – is of the default and standard command-line shell, you can also find the Windows PowerShell ISEISE stands for Integrated Scripting Environment, and it is a graphical user interface that allows you to easily create different scripts without having to type all the commands in the command line.

Few advantage of Powershell ISE,

  1. Context sensitive help, help when you start typing, a little window pops up that displays the cmdlets that match the entered text.
  2. Syntax Highlight, help you avoid syntax errors
  3. Run scripts in blocks, select the part of script block and run only selected using F8 or complete script using F5


Well PowerGUI one of the old boy, which can better replaced with PowerShell ISE, unless if you are not in love with it or don’t want to compile it to create and executable. But is also provide some comprehensive help with context you are about to type.


Most of the time, I do use Notepad++ for starting any script and editing it later, use PowerShellISE or PowerGUI only when I need to test them.

Check out Part 2

One thought on “Learn PowerShell (my way)!! Part 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s