Search found 7 matches
- Wed Mar 25, 2020 9:58 am
- Forum: PowerShell GUIs
- Topic: passing variable to another event
- Replies: 8
- Views: 7195
Re: passing variable to another event
those are are good points but i am just testing variables with events. So in my real gui what i am trying to build when button verification click, it runs some command in Azure and shows in label. these commands get three values in three different variables. Now, if user click another button to exec...
- Tue Mar 24, 2020 2:59 pm
- Forum: PowerShell GUIs
- Topic: passing variable to another event
- Replies: 8
- Views: 7195
Re: passing variable to another event
"To easily share data in a form you can save the data in a control or save it is a script scope variable" any example you could share? down below i would like to pass $ObjectId variable from $buttonHello to $buttonWorld and run $Results command =============================================...
- Tue Mar 24, 2020 2:00 pm
- Forum: PowerShell GUIs
- Topic: passing variable to another event
- Replies: 8
- Views: 7195
Re: passing variable to another event
thx for your quick respond. My goal here is how to pass variable from one event to different, showing in txtbox or label is to just show... I am creating Azure admin tool, so if admin will click verify button, it does some stuff and create variable. This variable i want to be available to different ...
- Tue Mar 24, 2020 9:46 am
- Forum: PowerShell GUIs
- Topic: passing variable to another event
- Replies: 8
- Views: 7195
Re: passing variable to another event
$form1_Load={ #TODO: Initialize Form Controls here } $buttonHello_Click={ #TODO: Place custom script here $hello = "Saying Hello " $lbl.Text= $hello } $lbl_Click={ #TODO: Place custom script here } $buttonWorld_Click={ #TODO: Place custom script here $world = "World" $lbl.Text = ...
- Tue Mar 24, 2020 9:45 am
- Forum: PowerShell GUIs
- Topic: passing variable to another event
- Replies: 8
- Views: 7195
passing variable to another event
Folks: New to PS studio Gui. I am trying to pass variable\parameter to another event. For example i have Two button, Hello and World with label. Now when i click on Hello button, its shows Hello in label (as attach shows). Now i want to take Hello variable to world event and when click world button,...
- Mon Jul 25, 2016 8:54 pm
- Forum: PowerShell
- Topic: get users from two ou and exlude users from members group
- Replies: 5
- Views: 2458
Re: get users from two ou and exlude users from members group
yes I had posted in MSDN post
So, I am trying to debug this code and ran before pipe and I get blank result. I am guessing get aduser from ou not getting any users.
So, I am trying to debug this code and ran before pipe and I get blank result. I am guessing get aduser from ou not getting any users.
- Mon Jul 25, 2016 8:25 pm
- Forum: PowerShell
- Topic: get users from two ou and exlude users from members group
- Replies: 5
- Views: 2458
get users from two ou and exlude users from members group
Hi, I am not except in PS, but trying to get users from two OU and exluding user if member for certain group. This script run with blank output or result. $OU = @( 'OU=Merrill,OU=Adminsys_Users,DC=adminsys,DC=mrll,DC=com', 'OU=Contract,OU=Users,OU=ENT,DC=adminsys,DC=mrll,DC=com' ) $ou | ForEach-Obje...