how to create a function in powershell code example Example: powershell function Function Function-Name ($argument) { }