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