• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Stephanos Constantinou Blog

PowerShell Scripting

  • Home
  • Blogs
    • PowerShell Tutorials
    • PowerShell Scripts
    • PowerShell Modules
      • Modules Cmdlets
    • Software Reviews
  • About
  • Contact
You are here: Home / PowerShell Tutorials / What is PowerShell

What is PowerShell

03/04/2018 by Stephanos 3 Comments

What is PowerShell?

With this post I am opening a new section in my blog. The new section will be tutorials for PowerShell. I will try to provide as much as information as I can on the subject of each post. I hope you will like this section and also provide useful information to those who need it. In this post we will discuss what is PowerShell so we will understand what we are able to do with it and how we are able to do different things.

PowerShell has been developed by Microsoft based on .Net Framework. The purpose of its development is was to help system administrators. It is an interactive shell with scripting features which can be used separately or in combination. You can run cmdlets, executable programs. powershell scripts and powershell functions. Cmdlets (command-lets), as per Microsoft, are simple, single fuction command tools integrated in PowerShell that allow you to combine them for more complex functionality.

PowerShell has been released in November 2006 in Window XP SP2. PowerShell updated to version 2.0 and integrated in Windows 7 and Windows Server 2008 R2. The current version of PowerShell is 6.0. PowerShell 6.0 is a major update. PowerShell 6.0 is now able to run on Windows, Linux and MacOS. PowerShell 6.0 is using .Net Core and this is the reason that now you are able to run it on any operating system. You can run PowerShell 6.0 parallel to previous versions of PowerShell. The executable has been renamed from powershell.exe to posh.exe. PowerShell 6.0 is not as powerful as Windows Powershell yet as it relies on .Net Core, which has less features than .Net Framework. Note here that you will not find PowerShell 6.0 installed on Windows by default. PowerShell 6.0 works differently and many of the scripts that you may write on Windows PowerShell will not work with PowerShell 6.0. As this is only a very brief explanation about PowerShell you better perform your research for better understanding. Espesially if you are interested on PowerShell 6.0, then you need to understand the difference between Windows PowerShell and PowerShell Core 6.0.

Below are the main changes between PowerShell and PowerShell Core:

AttributesPowerShellPowerShell Core
Versions1.0 to 5.16
Platforms SupportedOnly Windows (Client + Server)Windows, Linux, and MacOS
Dependency.NET Framework.NET Core
UsageDepends on .NET Framework RuntimeDepends on .NET Core Runtime
Launched aspowershell.exepwsh.exe on Windows and pwsh on MacOS and Linux
$PSVersionTable.PSEditionSet to DesktopSet to Core
Future Updates forBug fixes and Security Updates onlyFeature Update, Bug Fixes as well as Security Updates

As per Microsoft, Powershell 6.0 is fully supported on the below:

  • Windows 7, 8.1, and 10
  • Windows Server 2008 R2, 2012 R2, 2016
  • Windows Server Semi-Annual Channel
  • Ubuntu 14.04, 16.04, and 17.04
  • Debian 8.7+, and 9
  • CentOS 7
  • Red Hat Enterprise Linux 7
  • OpenSUSE 42.2
  • Fedora 25, 26
  • macOS 10.12+

There are also community packages for the following platforms but are not supported by Microsoft:

  • Arch Linux
  • Kali Linux
  • AppImage (works on multiple Linux platforms)

And also experimental, not supported for the below:

  • Windows on ARM32/ARM64
  • Raspbian (Stretch)

On each of the following post of this category we will select a subject and analyse it so we will understand how it works.

What is PowerShell - get-help-command

We will be able to get information from our systems.

What is PowerShell - get-process command

We will see how we will find information about commands and start building our scripts.

What is PowerShell - get-help write-host

Related Links:

  • PowerShell Scripting | Microsoft Docs
Summary
What is PowerShell
Article Name
What is PowerShell
Description
What is PowerShell. Here you will find a brief explanation of what is PowerShell and then by following the tutorials in this section, you will be able to understand better the use of PowerShell and how you can write your own scripts based on your needs. Stephanos Constantinou Blog - PowerShell Scripting
Author
Stephanos
Publisher Name
Stephanos Constantinou Blog
Publisher Logo
Stephanos Constantinou Blog

Filed Under: PowerShell Tutorials

Reader Interactions

Comments

  1. top 5 best swiss army knives says

    07/09/2018 at 00:15

    Its liкe yⲟou learn my thoughtѕ! You appeаr t᧐ understand
    a lot approхimately this, sucһ as yoou wrⲟte tһe ebook iin it or something.
    Ι beliege that you could do with sojе % tto force the message һokme a little Ьit, however instead оf that,
    that is wonderful blog. A great read. I’ll certainlyy be back.

    Reply

Trackbacks

  1. What is PowerShell – Stephanos Constantinou – Hari Babu Online says:
    05/04/2018 at 03:03

    […] https://www.sconstantinou.com/what-is-powershell/ […]

    Reply
  2. PowerShell Comments - Stephanos Constantinou says:
    10/04/2018 at 13:03

    […] What is PowerShell […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Footer

Recent Posts

  • ICS Cube Product Review 26/04/2019
  • PowerShell Module SysInfo v1.2.0 15/03/2019
  • PowerShell Module SysInfo v1.1.2 13/11/2018
  • PowerShell Module SysInfo 24/10/2018
  • Get-VoltageProbe 24/10/2018
  • Get-VideoController 24/10/2018
  • Get-USBController 24/10/2018
  • Get-TrackPoint 24/10/2018
  • Get-TrackBall 24/10/2018
  • Get-TouchScreen 24/10/2018
Planet PowerShell

Categories

  • Modules Cmdlets (57)
  • PowerShell Modules (5)
  • PowerShell Scripts (38)
  • PowerShell Tutorials (35)
  • Software Reviews (2)

Archives

  • April 2019 (1)
  • March 2019 (1)
  • November 2018 (1)
  • October 2018 (56)
  • September 2018 (13)
  • August 2018 (9)
  • July 2018 (6)
  • June 2018 (8)
  • May 2018 (7)
  • April 2018 (9)
  • March 2018 (4)
  • February 2018 (6)
  • January 2018 (12)
  • December 2017 (4)
Top 10 PowerShell 2018

Blogroll

  • Planet PowerShell
  • Reddit – PowerShell
  • PowerShell Magazine
  • PowerShell.org
  • PowerShell Team Blog
  • Hey, Scripting Guy! Blog
  • Mike F Robbins
  • PowerShell Explained with Kevin Marquette
  • Mike Kanakos – Network Admin
  • The Lonely Administrator
  • AskME4Tech
PowerShell Blogs Sysadmin Blogs Banners for Top 20 Programming Blogs

© 2023 · Stephanos Constantinou Blog

  • Home
  • Blogs
  • About
  • Contact