How To Make Use Of Functions in PowerShell – Jonathan Medd's Blog

PHOTO EMBED

Thu Dec 01 2022 01:27:11 GMT+0000 (Coordinated Universal Time)

Saved by @savabeh191 #powershell

function Get-TimesResult {

Param ([int]$a,[int]$b)

$c = $a * $b

Write-Output $c
}

content_copyCOPY

https://www.jonathanmedd.net/2015/01/how-to-make-use-of-functions-in-powershell.html