Skip to content

Instantly share code, notes, and snippets.

View ChrisLGardner's full-sized avatar

Chris Gardner ChrisLGardner

View GitHub Profile
function test-switch {
param (
[switch]$switch1,
[switch]$switch2,
[switch]$switch3,
[switch]$switch4
)
switch ($true) {
$switch1 { "test1" }
$arr = @("25.02.2020 10:11:58"
"25.02.2020 10:12:21"
"25.02.2020 11:03:37"
"25.02.2020 11:03:37"
"25.02.2020 11:35:28"
"25.02.2020 11:35:32"
"25.02.2020 12:40:03"
"25.02.2020 14:08:11"
"25.02.2020 14:09:49"
"25.02.2020 14:39:44"