Member-only story
TECH BASICS
How to work with PowerShell ?

As per Microsoft,
PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language.
PowerShell help in automating administrative tasks of Windows based systems. Initially, Windows PowerShell was build on top of .NET Framework and worked on Windows only. In recent releases, PowerShell started using .NET Core 3.1 as its runtime. Now PowerShell runs on Windows, macOS, and Linux platforms.
Windows PowerShell — Windows platform only
Windows PowerShell Core — Cross Platform
.NET Core is a free, cross-platform, open-source developer platform for building many different types of applications.
Using PowerShell
PowerShell can be launched from Start Menu on Window OS. In case of other OS you can run pwsh in command terminal to load PowerShell.
if you docker on your system then you can work it out like this -
> docker run --rm -it mcr.microsoft.com/azure-powershell
$PSVersionTable
contains a hash table which stores information about PowerShell version and Build. (In a hash table, data is stored in an array format, where each data…