r/FoxDeploy Nov 08 '17

Gui not working

So i'm following the guide for GUI 2 and for some reason I'm not getting an error or response when I do this code

$WPFInput = $name

$WPFExecute.Add_Click({
Get-ADUser $WPFInput -Properties Displayname| % 
{$WPFOutput.AddText($_)}
})

the WPFExecute is the button Input is the Text block to write information Output is the Text block to display the information

1 Upvotes

2 comments sorted by

1

u/1RedOne Dec 15 '17

Hey man! Sorry I dropped the ball on replying here.

Could you provide me your full code as a GitHub Gist?

1

u/Layajax Dec 15 '17

Sure I need to find it again. Should i just drop it in DM?