Search found 224 matches

by mxtrinidad
Wed Nov 07, 2018 10:10 am
Forum: Windows PowerShell
Topic: looking for advice
Replies: 5
Views: 192

Re: looking for advice

Although MVA has been around for some time, Microsoft Tech Community (https://techcommunity.microsoft.com/) has started promoting about Microsoft Learn, which is an interactive, quick, and fun way to learn about Azure. Here's the link: https://docs.microsoft.com/en-us/learn/azure/ Please, feel free ...
by mxtrinidad
Tue Nov 06, 2018 9:05 am
Forum: PowerShell GUIs
Topic: Richtextbox with multiple URLs
Replies: 6
Views: 249

Re: Richtextbox with multiple URLs

Mr Jvierra!

Oops! I thought when I did the translate to english that the Url will keep it in "English".
I wasn't expecting to stay in spanish language.

Haha!

Also, I was showing the code translation from C#.
Thanks for showing the "Start-Process" cmdlet.

:)
by mxtrinidad
Tue Nov 06, 2018 8:50 am
Forum: PowerShell GUIs
Topic: Richtextbox with multiple URLs
Replies: 6
Views: 249

Re: Richtextbox with multiple URLs

This is a good one! Just keep in mind, when working with Windows Form controls, you're dealing with events. So, you need to add the event for the when you click the Url link. This is the "LinkClicked" event. This is well documented in the Microsoft Doc: https://docs.microsoft.com/es-es/dotnet/api/sy...
by mxtrinidad
Fri Oct 26, 2018 11:10 am
Forum: PowerShell GUIs
Topic: Get-ADUser Filtering not working
Replies: 5
Views: 233

Re: Get-ADUser Filtering not working

Ah! First, in the form designer, double-click on the ComboBox field. This will create the event block "$combobox1_SelectedIndexChanged". In this event block, you'll add the code to save the value selected from the combox box: $labelDisplayComboSelected.Text = $combox1.SelectedItem.ToString() In the ...
by mxtrinidad
Fri Oct 26, 2018 10:18 am
Forum: PowerShell GUIs
Topic: Get-ADUser Filtering not working
Replies: 5
Views: 233

Re: Get-ADUser Filtering not working

You missed to display the selected item(s) from the combo box.
For Example:

Code: Select all

$combobox1_SelectedIndexChanged = {
	#TODO: Place custom script here
	$labelDisplayComboSelected.Text = $combobox1.SelectedItem.ToString();
}
:)
by mxtrinidad
Fri Oct 26, 2018 8:25 am
Forum: PowerShell GUIs
Topic: textbox
Replies: 4
Views: 263

Re: textbox

In the Textbox control, use the Text property to enter a text to be display when it initially open the forms.
Other than that, you could add code to keep displaying the text after it get's process.
by mxtrinidad
Thu Oct 25, 2018 9:12 am
Forum: PowerShell Studio
Topic: Latest update - Save button not working
Replies: 9
Views: 1102

Re: Latest update - Save button not working

Use the same forum, then add the issue you found. This creates will a different thread which we can track separately.
:)
by mxtrinidad
Thu Oct 25, 2018 8:25 am
Forum: PowerShell Studio
Topic: Latest update - Save button not working
Replies: 9
Views: 1102

Re: Latest update - Save button not working

Thanks Olga!!

Hey Jasonv,

Can you please file a separate issue and provide some more information? This way we can keep it separately and track them better.
Greatly Appreciated!
by mxtrinidad
Thu Oct 25, 2018 8:20 am
Forum: PowerShell GUIs
Topic: enable psremoting
Replies: 2
Views: 223

Re: enable psremoting

Please read carefully the PowerShell Get-Help information on both "Start-Process" and the "Invoke-Command". On the Start-Process cmdlet you can't include executable parameter(s) in the "-FilePath". And, on the "Invoke-Command", you probably need to use the "-RunAsAdministrator" parameter. Also, make...
by mxtrinidad
Thu Oct 25, 2018 7:51 am
Forum: PowerShell Studio
Topic: Latest update - Save button not working
Replies: 9
Views: 1102

Re: Latest update - Save button not working

Let me look into it. I'll get back to you!
:)