Support Forums

Search found 10807 matches

by jvierra
Fri May 26, 2017 9:13 am
Forum: PowerShell GUIs
Topic: DataGridView add header cell number
Replies: 22
Views: 72

Re: DataGridView add header cell number

$DataGridView.add_RowPostPaint()
by jvierra
Fri May 26, 2017 8:41 am
Forum: PowerShell GUIs
Topic: job tracker get portion of job?
Replies: 10
Views: 65

Re: job tracker get portion of job?

Why? You only get the progress bar when receiving the results. This is not really progress but just a bunch of delayed messages.
by jvierra
Fri May 26, 2017 4:31 am
Forum: PowerShell GUIs
Topic: DataGridView add header cell number
Replies: 22
Views: 72

Re: DataGridView add header cell number

You have to use the "AfterPaint" method to add row header numbers or loading the table will erase everything.
by jvierra
Thu May 25, 2017 11:14 pm
Forum: PowerShell GUIs
Topic: DataGridView in Runspace Scrollbar error
Replies: 5
Views: 52

Re: DataGridView in Runspace Scrollbar error

Good. It took me about 15 minutes to realize that it was likely a bug. Searched and found the answer.

Always search for a short description of the condition. You will very often find an answer.
by jvierra
Thu May 25, 2017 11:16 am
Forum: PowerShell GUIs
Topic: job tracker get portion of job?
Replies: 10
Views: 65

Re: job tracker get portion of job?

The picture tells us nothing. Post your job script.
by jvierra
Thu May 25, 2017 11:06 am
Forum: PowerShell GUIs
Topic: job tracker get portion of job?
Replies: 10
Views: 65

Re: job tracker get portion of job?

You have to explicitly load the module at the beginning of your Job script using the code I posted.

You can also add the line $ProgressPreference= 'SilentlyContinue' as a global to you form.
by jvierra
Thu May 25, 2017 10:36 am
Forum: PowerShell GUIs
Topic: job tracker get portion of job?
Replies: 10
Views: 65

Re: job tracker get portion of job?

All PowerShell versions have Import-Module.

Using $ProgressPreference='SilentlyContinue' will supress all progress.

Code: Select all

$ProgressPreference= 'SilentlyContinue'
Import-Module ActiveDirectory -WarningAction SilentlyContinue
by jvierra
Thu May 25, 2017 9:53 am
Forum: Windows PowerShell
Topic: Trying to Array information into .csv file. I would like to put the member in a csv
Replies: 1
Views: 29

Re: Trying to Array information into .csv file. I would like to put the member in a csv

To get Json data as an object we would normally use "Invoke-WebRequest".
by jvierra
Thu May 25, 2017 9:47 am
Forum: PowerShell GUIs
Topic: job tracker get portion of job?
Replies: 10
Views: 65

Re: job tracker get portion of job?

Let me guess .... YOu have added Import-Module in your job. .....

Add $ProgressPreference = 'SilentlyContinue' to the beginning of your job script.
by jvierra
Thu May 25, 2017 1:16 am
Forum: PowerShell GUIs
Topic: TextBox/RichTextBox new lines for imported text file
Replies: 7
Views: 47

Re: TextBox/RichTextBox new lines for imported text file

Here is an alternate way to keep from losing the lines:

Go to advanced search