In powershell it is oriented tool for system administrators to automate tasks on a server to perform certain tasks with greater control powershell commands. Besides being able to control the Windows operating system, Powershell also controls certain applications such as ...Read More »
Windows Powershell also makes available its own powershell script and powershell commands to create scripts in the classic style of powershell version. In powershell script language ( PSL ) makes available includes variables, loops, conditionals, functions and error handling in any powershell version.
Powershell commands in PowerShell
By default, there is a data set that default PowerShell displays and automatically generates when we called the Get-Help command. The most important are:
- Name: Obtained from the file name our script or function name.
- Syntax: Extracted from the signing of our script or function.
- Parameter List: This time, if we include details on the parameters with which we explain below, the information will be extracted from there. Otherwise, after the signature of our script or function.
When documenting our scripts and our PowerShell functions we need to know the expected structure for the command Get-Help or self Host can extract the information.