Functions work pretty much like macros. As such, you can attach a script block to a name to create your own new commands. Functions provide the interface between your code and the user. They can define parameters, parameter types, and even provide help