RosettaCodeData/Task/Extend-your-language/PowerShell/extend-your-language-2.psh
2016-12-05 22:15:40 +01:00

6 lines
186 B
Text

When-Condition -Test1 (Test-Path .\temp.txt) -Test2 (Test-Path .\tmp.txt) `
-Both { "both true"
} -First { "first true"
} -Second { "second true"
} -Neither { "neither true"
}