Powershell is Microsoft Windows platform tool used for administrative purposes. We perform the administrative tasks by breaking the tasks into scripts to be executed with the help of Powershell.
Environment Setup required for Learning Powershell
It’s better to have your own set of things required while learning Powershell in order to try different concepts practically. This also allows you to try and test maximum concepts without any constraints (as the whole setup is yours).
Following is the list of the items required:
1. 2 to 3 network connected computers.
2. ISO files for Windows 10 Enterprise, Windows Server 2012r2 and Windows Server 2016.
1. Powershell Console
Powershell console is used by administrators to perform the routine administrative chores for local and remote machines. You can open the console by clicking on ‘Start’ and starting to type ‘powershell’
Then click on Windows PowerShell desktop app to open the console window:
2. Powershell Console x86
x86 version of powershell console is used for the 32 bit systems. Example scenario would be remotely running powershell commands on some old machines which are having 32 bit architecture. You can access x86 console the same way as you did in the case of regular powershell console as shown in screenshot below:
3. Powershell ISE
Powershell ISE stands for Powershell Integrated Scripting Environment. As the name suggests, Powershell ISE helps us to write powershell scripts which we can execute again and again as we need. Powershell script file has an extension ‘.ps1’. ISE provides intellisense feature in order to help us with cmdlets while writing the scripts. ‘cmdlet’ is nothing but a posswershell command. In order to access powershell ISE, go to start and click “powershell” and then select Windows PowerShell ISE from the options displayed. Below is the screenshot of Powershell ISE window:
Version 3.0 is integrated with Windows 8 and with Windows Server 2012. Microsoft has also made PowerShell 3 available for Windows 7 with Service Pack 1, for Windows Server 2008 with Service Pack 1, and for Windows Server 2008 R2 with Service Pack 1
PowerShell has power, depth and flexibility and you can research for yourself, with PowerShell you can create new objects for example, Windows Services File system , DirectoryEntry or the simpler, and .Net Framework based object using fully qualified name like system.DateTime.
PowerShell has ability to use .Net Framework and powershell allows you to build such objects.
In Powershell 2.0 you get alot of new functionality. As you mentioned,
there is remoting. Here are all the new cmdlets introduced in PS 2.0:
You also get new scripting functionality:
Version 1.0 Beta/Release Candidate was released in 2006 for Windows XP SP2/SP3, Windows Server 2003, and Windows Vista. For Windows Server 2008, it is included as an optional feature
|First Monad public beta release date||17-jun-2005|
|Beta 2 Released On||11-Sept-2005|
|Beta 3 Released On||10-Jan-2006|
|Microsoft formally announced that Monad had been renamed Windows PowerShell||25-Apr-2006|
|Release Candidate 2 of PowerShell version 1 was released||14-Sept-2006|
|Final Release to the web (RTW) PowerShell Version 1 was on||14-Nov-2006|