Functions
In PowerShell, functions are defined using the "function" keyword, followed by the function name enclosed in curly braces. The body of the function, where the code to be executed is defined, is contained within those curly braces.
See Also
Videos
PowerShell - Profitbase.Data.SqlCommand function example