Hi
Is there a different way of writing the following code instead of using if statement?
Add $podid
Function Add ($x) {
if ($x -match "07") { do this
} elseif ($x -match "08") { write-host "a"
} elseif ($x -match "09") { write-host "b"
} elseif ($x -match "10") {write-host "c"
} else { do this
}