Search found 8 matches

by ALD Automotive
Thu Jan 10, 2019 10:54 pm
Forum: PowerShell Studio
Topic: Save Date in variable after executed script
Replies: 1
Views: 522

Save Date in variable after executed script

Product: PowerShell Studio 2019 (64 Bit) Build: v5.6.156 OS: Windows 10 Enterprise (64 Bit) Build: v10.0.14393.0 Hello, Could you please let me know, is it possible save data inside variable after script executed (as simple Powershell). For example i get in $data information from file and folders wi...
by ALD Automotive
Tue Sep 18, 2018 6:35 am
Forum: PowerShell GUIs
Topic: Array and Richtextbox
Replies: 3
Views: 198

Re: Array and Richtextbox

Could you give me advice?
What can i use instead?
by ALD Automotive
Tue Sep 18, 2018 4:38 am
Forum: PowerShell GUIs
Topic: Array and Richtextbox
Replies: 3
Views: 198

Array and Richtextbox

Hello, Please help me with Array and Richtextbox $user1 = $tab2_compare_group1.Text $user2 = $tab2_compare_group2.Text $group1 = Get-ADUser $user1 -Properties * | Select-Object -ExpandProperty memberof | ForEach-Object { (($_.split(","))[0]).substring(3) } | Sort-Object -CaseSensitive $group2 = Get-...
by ALD Automotive
Tue Feb 20, 2018 4:44 am
Forum: PowerShell GUIs
Topic: Calculate inside textbox
Replies: 2
Views: 326

Re: Calculate inside textbox

Thank you very much!
by ALD Automotive
Tue Feb 20, 2018 3:18 am
Forum: PowerShell GUIs
Topic: Calculate inside textbox
Replies: 2
Views: 326

Calculate inside textbox

Hello, Is is possible calculate inside textbox? Examlpe: $a = $textbox1.text $b=$textbox2.text $result= $a+$b $resultTextbox.text = $result If i wtite at textbox1 - "5" and textbox2 - "5" as result i receive "10" But i want write at textbox1 "5+1" and textbox2 - "5" and as result receive "11" Is it ...
by ALD Automotive
Wed Feb 14, 2018 7:15 am
Forum: PowerShell GUIs
Topic: If doesn't work if i do it on new tab
Replies: 5
Views: 524

Re: If doesn't work if i do it on new tab

I have a control combobox. Event - SelectedIndexChanged. If i select some values in this combobox - another combobox be visible (by default it's invisible). It's work fine at alone form. But if i add to another form control - "Tab control" and at Page2 make same control from first form (same name) a...
by ALD Automotive
Wed Feb 14, 2018 1:15 am
Forum: PowerShell GUIs
Topic: If doesn't work if i do it on new tab
Replies: 5
Views: 524

Re: If doesn't work if i do it on new tab

Ok, i have a script (disinger in attachment). Some later i want add Tab control and at second tab write new script. (second attachment). If i use scripts alone both works fine. But if i put second script at TAB control (page #2) it's doesn't work. What doesn;t wokr: When i select departments (if i s...
by ALD Automotive
Tue Feb 13, 2018 11:23 pm
Forum: PowerShell GUIs
Topic: If doesn't work if i do it on new tab
Replies: 5
Views: 524

If doesn't work if i do it on new tab

Hello, I created simple form for creating a users at AD. it's works correctly, but if i add Tab control and put this script at second tab sript doesn't work if (($combobox1_Department.SelectedItem -eq "Sales") -or ($combobox1_Department.SelectedItem -eq "Operations") -or ($combobox1_Department.Selec...