function Test-Blubb { [CmdletBinding()] param ( #Insert Parameter-Definition here ) begin { #Insert actions here for initial setup of Cmdlet } process { #Insert here the recurring part for all transmitted objects } end { #Insert here final actions, like closing connections, dispose objects, etc... } }
Quelle: Link