More than one input

Feb 10, 2011 at 1:57 AM

I'm trying to create a web app that will allow users to change their username and password utilizing the quest cmdlets. Can -References take two inputs?

$Grid = New-PBGrid -Rows ("1*",30,30,30)
$TextBox = New-PBTextBox -Name output -Row 0 -fontsize 17
$TextBox1 = New-PBTextBox -Name input -Row 1 -fontsize 17
$TextBox2 = New-PBTextBox -Name input1 -Row 2 -fontsize 17
$Button = New-PBButton -Name button -Row 3 -Text "Press Me"
Function CreateName
{
  #test#
  add-pssnapin quest.activeroles.admanagement
  new-pbtextbox -name output -text (get-qaduser %input% | set-qaduser -userpassword %input1% |out-string)
  #test#
}
#$Script =
Add-PBEvent -InputObject $Button -Name Click -Script "#test#" -Target output -References input, input1
Add-PBItem $Grid $TextBox,$TextBox1,$TextBox2,$Button
$Grid

Feb 10, 2011 at 2:15 AM

Never mind. I got it. But I don't understand how to save it and how to let other get to it. Are there any instructions on the management side of PoshBoard?