bestprogram

  • 홈
  • 태그
  • 방명록

PowerShell 21

스위치 문의 여러 값에 대한 PowerShell 구문은 무엇입니까?

스위치 문의 여러 값에 대한 PowerShell 구문은 무엇입니까? 기본적으로 다음과 같이 하고 싶습니다. switch($someString.ToLower()) { "y", "yes" { "You entered Yes." } default { "You entered No." } } switch($someString.ToLower()) { {($_ -eq "y") -or ($_ -eq "yes")} { "You entered Yes." } default { "You entered No." } } 이것은 기능하고 있어, 보다 읽기 쉬운 것 같습니다. switch($someString) { { @("y", "yes") -contains $_ } { "You entered Yes." } default { "Yo..

programing 2023.04.22
이전
1 2 3
다음
더보기
프로필사진

각종 프로그래밍 정보를 다루는 블로그입니다.

  • 분류 전체보기 (1351)
    • programing (1351)

Tag

ajax, Angular, mariadb, Oracle, bash, json, spring-boot, git, angularJS, python, reactjs, mongodb, sql-server, jquery, c, Wordpress, Excel, Android, ASP.NET, MYSQL,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바