저는 VBL 스크립트에서 powershell 의 세계로 돌아 왔습니다. 현재는 주 메뉴 및 다중 하위 기본 메뉴가있는 콘솔 응용 프로그램을 개발하는 중입니다.Powershell 다중 선택 메뉴 및 하위 메뉴
내가 예를 들어, 캐스케이드 효과처럼 작동하는 메뉴 시스템을 싶습니다
---------------------------------------------------------------------
Main Menu
clear
write-host "A"
write-host "B"
write-host "C"
write-host "D"
#When the user choose a letter the use would then
#forwarded to the letter A menu
$Choice = read-host ''"Please enter your Choice"
--------------------------------------------------------
Menu A
#If the user selects any of the options available from (A-Test1 to A-Test3) in #Menu A for example A-Test1:
#The menu A-Test1 will show up and display a menu of a list of
#actions to perform or return the user back to the menu A.
write-host "A-Test1"
write-host "A-Test2"
write-host "A-Test3"
write-host "A-Test4"
write-host "Exit " # Exit will return the user back to the main menu
# To select another choice.
$select = read-host ''"Please select from menu A:"
시도한 것을 보여 주거나 잘못 된 것이 무엇인지 보여주는 것이 도움이 될 수 있습니다. – Jeff