What is a PowerShell cmdlet?

前端 未结 4 1778
迷失自我
迷失自我 2021-02-08 05:06

Approaching cmdlets in a conceptual way,

  1. How are they made? Are they compiled?

  2. Is it the equivalent of a batch file for PowerShell? Is it a scr

4条回答
  •  梦如初夏
    2021-02-08 05:57

    A PowerShell cmdlet is a user-created extension to the PowerShell scripting language. The Cmdlet itself is a .NET class extending from PSCmdlet. Usually, additional components are included with the cmdlet to provide help and registering the cmdlet.

    A cmdlet allows you to access to all functions accessible through the .NET virtual machine. This can range from simple script aids to fully functional programs.

提交回复
热议问题