Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

switch question

$
0
0

hi all,

is this possible to do, in some way?

please consider it as an example only for my comprehension. I'm still learning.

switch $true {

  if ($choice1.checked) {do something}

  if ($choice2.checked) {do something}

  if ($choice3.checked) {do something}

}

thanks!


Viewing all articles
Browse latest Browse all 6937

Trending Articles