Search found 14540 matches

by jvierra
Thu Sep 17, 2020 1:02 am
Forum: PowerShell GUIs
Topic: Microsoft .net Framework error
Replies: 1
Views: 71

Re: Microsoft .net Framework error

Sorry but this forum is not a computer repair forum. You will have to contact a repair agency or the vendor of your system.
by jvierra
Wed Sep 16, 2020 11:10 am
Forum: PowerShell
Topic: Run Selection in Powershell studio
Replies: 1
Views: 67

Re: Run Selection in Powershell studio

There is absolutely no way to answer your question. I can on,.y recommend running this in debug mode and stepping through your code to see what is happening. I can also recommend starting with the following free book which will help you understand how PowerShell code works and how to run and debug P...
by jvierra
Tue Sep 15, 2020 5:44 pm
Forum: PowerShell
Topic: How to gather unique directory name and then export as CSV or Out-GridView?
Replies: 3
Views: 98

Re: How to gather unique directory name and then export as CSV or Out-GridView?

I don't understand why that is an issue? Just output them to a CSV using "Export-Csv".
by jvierra
Tue Sep 15, 2020 5:43 pm
Forum: PowerShell
Topic: Resolve Unique IP and Send Email?
Replies: 4
Views: 107

Re: Resolve Unique IP and Send Email?

Don't make the body HTML and the line breaks will persist.
by jvierra
Tue Sep 15, 2020 3:46 pm
Forum: PowerShell
Topic: How to gather unique directory name and then export as CSV or Out-GridView?
Replies: 3
Views: 98

Re: How to gather unique directory name and then export as CSV or Out-GridView?

Sorry but it is not possible to understand what you are trying to do.

ACEs do not have file names or paths. You would have to create custom objects for that.
by jvierra
Tue Sep 15, 2020 3:43 pm
Forum: PowerShell
Topic: Resolve Unique IP and Send Email?
Replies: 4
Views: 107

Re: Resolve Unique IP and Send Email?

To send an object collection as HTML you would use "ConvertTo-Html" .

$body = $results | ConvertTo-Html | Out-String
by jvierra
Tue Sep 15, 2020 1:28 pm
Forum: PowerShell GUIs
Topic: check if pssnapin could be load
Replies: 4
Views: 102

Re: check if pssnapin could be load

You have to use the exact name of the snapin.

At a prompt get the snapin and check the name. THe name you are using is not the3 name of the snapin.
by jvierra
Mon Sep 14, 2020 10:35 pm
Forum: PowerShell GUIs
Topic: check if pssnapin could be load
Replies: 4
Views: 102

Re: check if pssnapin could be load

This is how to do this:

$buttonExchange.Visible = [bool](Get-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ea 0)
by jvierra
Sun Sep 13, 2020 4:36 pm
Forum: PowerShell GUIs
Topic: Multiple Checkbox use
Replies: 9
Views: 145

Re: Multiple Checkbox use

So you question is "how do I search for multiple file types?" Is this correct?
by jvierra
Sun Sep 13, 2020 3:44 pm
Forum: PowerShell GUIs
Topic: Multiple Checkbox use
Replies: 9
Views: 145

Re: Multiple Checkbox use

How can checkboxes delete files? Your description is far too vague to be useful. Are you say8ing that the user is typing files into a RichTextBox and that that some determines how the checkboxes work? You have to think about what steps a user would take to delete files. A user would just select a fi...