Support Forums

Search found 10021 matches

by jvierra
Thu Nov 24, 2016 1:00 pm
Forum: Windows PowerShell
Topic: Storing the output from a foreach-object into seprate members
Replies: 7
Views: 118

Re: Storing the output from a foreach-object into seprate members

Orry - typo
Get-Content C:\Users\username\Downloads\Check.txt | Where{$_ -notmatch '===='} | ConvertTo-Html
by jvierra
Thu Nov 24, 2016 12:24 pm
Forum: Windows PowerShell
Topic: Storing the output from a foreach-object into seprate members
Replies: 7
Views: 118

Re: Storing the output from a foreach-object into seprate members

Get-Content C:\Users\username\Downloads\Check.txt | Where{$_ -notmatch '===='} | ConvertTo-Html
by jvierra
Thu Nov 24, 2016 11:31 am
Forum: Windows PowerShell
Topic: Storing the output from a foreach-object into seprate members
Replies: 7
Views: 118

Re: Storing the output from a foreach-object into seprate members

This is al you need to filter a file:

Get-Content C:\Users\username\Downloads\Check.txt | Where{%_ -notmatch '===='}
by jvierra
Thu Nov 24, 2016 10:06 am
Forum: PowerShell GUIs
Topic: listview itemchecked
Replies: 8
Views: 159

Re: listview itemchecked

$buttinSomebutton.Enabled = $_.Item.Checked
by jvierra
Thu Nov 24, 2016 10:05 am
Forum: PowerShell GUIs
Topic: TextBox Type of Characters Allowed
Replies: 1
Views: 36

Re: TextBox Type of Characters Allowed

You want to use the "MaskedTextBox" and not Textbox.
https://msdn.microsoft.com/en-us/librar ... k(v=vs.110).aspx
by jvierra
Wed Nov 23, 2016 11:54 pm
Forum: PowerShell GUIs
Topic: Textbox Alignment
Replies: 4
Views: 50

Re: Textbox Alignment

Very good. It is a common issue with many things in Windows.
by jvierra
Wed Nov 23, 2016 11:23 pm
Forum: PowerShell GUIs
Topic: Textbox Alignment
Replies: 4
Views: 50

Re: Textbox Alignment

Use a fixed font instead of a raster font.
by jvierra
Wed Nov 23, 2016 9:03 pm
Forum: PowerShell GUIs
Topic: Help with Textbox import
Replies: 5
Views: 51

Re: Help with Textbox import

You aid you wanted to export the text. I cannot tell what you are asking.
To make any control "ReadOnlY' just set it in the properties of the control.
by jvierra
Wed Nov 23, 2016 8:16 pm
Forum: PowerShell GUIs
Topic: Help with Textbox import
Replies: 5
Views: 51

Re: Help with Textbox import

That is not importing it is exporting.
$textbox1.Text | Out-File file.txt
by jvierra
Wed Nov 23, 2016 8:07 pm
Forum: PowerShell GUIs
Topic: Help with Textbox import
Replies: 5
Views: 51

Re: Help with Textbox import

You can add content to a textbox like this:
$textbox1.Lines = Get-Content file.txt

Go to advanced search

cron