This is an old revision of the document!


Powershell Script Arguments

function foo {
    param(
        [Parameter(Mandatory=$true)]  [String]$EmailTo   = "ToAddr@gmail.com",
        [Parameter(Mandatory=$true)]  [String]$EmailFrom = "FromAddr@gmail.com"
    )
}
  • powershell_script_arguments.1635184882.txt.gz
  • Last modified: 2021/10/25 18:01
  • by mgupton