본문 바로가기

카테고리 없음

input box, popup


#input box

[void][Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')

$title = 'Genesis Rollout Config'

$msg   = '[Genesis] 확산할 국가 코드를 입력하십시오:'

$text = [Microsoft.VisualBasic.Interaction]::InputBox($msg, $title)


echo $text




#popup

$wshell = New-Object -ComObject Wscript.Shell

$wshell.Popup($text,0,"Done",0x1246)


$wshell.Popup($text,0,"Done",0x1246)



Popup Method

https://msdn.microsoft.com/en-us/library/x83z1d9f(v=vs.84).aspx