Hi,
I run a code that have form with button, when I press the button I'm doing operations in variables,
I want to use those variables after I use the button, for example:
1. ..........
2. ..........
3. .........
4. $button.add_Click(
{
$UserName="Danny"
$UserQuotas=Get-Mailbox $UserName
}
)
5. doing operations on $UserQuotas
I get nothing when I'm doing operations on $UserQuotas (5)
how can I get the value out of the button "loop"?
thanks
Lior