Demystify of cmdlets

In the era of digitization, cloud is playing an important role in the software sector and Microsoft Azure has occupied a wide space in the cloud. While using Microsoft Azure, I have come across cmdlets. In first conversation, I believe it is another name for command prompt which is common use for window interaction, but gradually, I realized that cmdlets are different from command prompt. Let's start to dive deep.
Microsoft Azure provides three different administrative tools to control, automate and monitor the Azure resources.

  • The Azure portal
  • The Azure CLI
  • Azure PowerShell
Because I'm going to discuss cmdlets, I'll highlight PowerShell. There are two command shells in the Windows operating system, the first command shell and the second PowerShell. Each shell contains software that provides direct communication between users and the operating system or application.

A command shell is an input field in a text-based user interface screen for an operating system (OS) or program, whereas, cmdlets are the basic unit that performs a single task.

PowerShell was designed to extend the capabilities of the command Shell which consists of command line shell and associated Scripting language built on the .Net Framework and .Net Core. moreover,  PowerShell is an object oriented automation engine and script language that helps administrators configure and automate administrative tasks.

What is cmdlets ?

cmdlets stand "Command Let", which is the basic unit in PowerShell that performs a single task. It is like the users order for the operating system or an application for a specific service.

PowerShell uses function called "cmdlets" and Window Command line uses Command Statement.

Few points:

  • It is a specialized .NET Class that implements a specific tasks or operation.
  • It has mandatory and optional parameters that control how the cmdlets operate.
  • It is lightweight script that performs a single task.
  • It is written a compiled .NET language 
Summary:

cmdlets help IT administrators to automate their repetitive tasks and batch jobs and it provides an easy implementation framework where administrators can configure windows or operating systems or applications.

Read this same article on LinkedIn.

Comments

Popular posts from this blog

Exploring the Differences: Managed vs. Unmanaged Solutions in Dynamics CRM/Dataverse

PCF vs. Web Resources: Choosing the Right Extensibility Tool for Dataverse

Effective Strategies for Debugging Plugins in Dynamics CRM