define functions in powershell code example Example: powershell function Function Function-Name ($argument) { }