Windows PowerShell Specification

Sub Statement Definition: Declares the name, arguments, and code that form the body of a Sub procedure. Windows PowerShell supports only functions, as opposed to functions and subroutines. You can define a function in Windows PowerShell by using the function statement followed by: The name of … ................
................