March 2009 - Posts


PowerShell: Return values from a function through reference parameters by svdoever

PowerShell has a special [ref] keyword to specify which parameters are used in a fuction to return values. It's usage is not directly clear however. If the type of the variable to update is a value type, use the [ref] keyword in the declaration of the...
Filed under: ,
More Posts