PowerShell Introduction

Leave a comment

PowerShell is an interactive shell and a scripting language for Windows environments. It has several uses including for automation and configuration.

It is also object oriented and based on the .NET Framework.

To run commands, open the Windows PowerShell app:

You can then run commands such as changing directory like in DOS.

PowerShell also has the concept of “aliasing”, which is running a command by typing a different name. For example, there are several UNIX commands that are available in PowerShell, such as “ls” for directory listing (“dir” in DOS). The idea is that this helps users of other scripting languages learn PowerShell quickly:

You can read more about the available UNIX commands and aliasing here.

To get more information on an alias you can typing the name “Get-Alias”:

Note PowerShell is case insensitive.

To get help, you can run Get-Help:

This provides help on the PowerShell help system. You can also provide parameters to get help on specific commands:

PowerShell also supports wildcards:

To display all commands available in the system, you can type in “Get-Command”:

 

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

Leave a Reply

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