Search notes:

PowerShell: Advanced functions

A function becomes advanced if it contains a [cmdLetBinding()] param(…) statement:
function advanced-func {
   [cmdLetBinding()]
    param(
       …
    )

    … 

}
Advanced functions can have up to three script blocks: begin, process and end.

Differences from compiled cmdlets

Microsoft's documentation lists the following three differences between advanced functions and compiled cmdlets:

See also

The CmdLetBinding type accelerator

Index