Search found 12664 matches

by jvierra
Mon Sep 10, 2018 11:13 am
Forum: Windows PowerShell
Topic: Remotly connect to SharePoint PowerShell
Replies: 11
Views: 322

Re: Remotly connect to SharePoint PowerShell

I am still confused. What is PowerPoint Studio and what support are you referring to.

If you want PowerShell Studio support you need to post here: viewforum.php?f=12

Note that "PowerPoint Studio" is not a Sapien product.
by jvierra
Thu Sep 06, 2018 9:55 am
Forum: Windows PowerShell
Topic: Remotly connect to SharePoint PowerShell
Replies: 11
Views: 322

Re: Remotly connect to SharePoint PowerShell

What is "PowerPoint Studio"? I think you are posting to the wrong vendor forum.
by jvierra
Wed Sep 05, 2018 1:18 pm
Forum: PowerShell GUIs
Topic: Display output of the CMD in real time inside TextBox
Replies: 33
Views: 1009

Re: Display output of the CMD in real time inside TextBox

You redirected errors but did not provide:

$p.add_ErrorDataReceived({ .. })
$p.BeginErrorReadLine()


If you are redirecting all output then the process Window is unnecessary. Just set "CreateNoWindow" and it will not be visible.
by jvierra
Wed Sep 05, 2018 11:16 am
Forum: PowerShell GUIs
Topic: Display output of the CMD in real time inside TextBox
Replies: 33
Views: 1009

Re: Display output of the CMD in real time inside TextBox

Synchronizing object must be the form:
$p.SynchronizingObject = $form1

"SetParent" is only used if you want to display the process window within a form object. If so then position and an location tracking (OnMove) must be implemented for this to display correctly.
by jvierra
Wed Sep 05, 2018 2:12 am
Forum: PowerShell GUIs
Topic: Display output of the CMD in real time inside TextBox
Replies: 33
Views: 1009

Re: Display output of the CMD in real time inside TextBox

You have to code it to do that. Just use the process end event to start the next process.
by jvierra
Tue Sep 04, 2018 5:38 pm
Forum: PowerShell GUIs
Topic: Display output of the CMD in real time inside TextBox
Replies: 33
Views: 1009

Re: Display output of the CMD in real time inside TextBox

I should also not that my previous solution does not require a runspace and can be used for multiple processes. All you need to do is supply event code to handle the process events and run. The reason you say my code blocks is because a runspace has no WindowHandle to wait on. Only a full process wi...
by jvierra
Tue Sep 04, 2018 4:41 pm
Forum: PowerShell GUIs
Topic: Display output of the CMD in real time inside TextBox
Replies: 33
Views: 1009

Re: Display output of the CMD in real time inside TextBox

It works fine for me. Please run the example. Some external programs may misbehave if they take a long time to start. If that is the case then don't use the SetLocation. The rest works just fine without it.
by jvierra
Sun Sep 02, 2018 11:31 pm
Forum: Windows PowerShell
Topic: Need some help in formatting the Column export result to remove the SMTP: & smtp: ?
Replies: 3
Views: 181

Re: Need some help in formatting the Column export result to remove the SMTP: & smtp: ?

??? There is no siring parsing. It is just a filter and a replacement. You could call it partsing but it really isn't. Look at you original code and try to seem what it was that you did wrong. It was a very obvious mistake, You mixed foreach and where. The rest I did to remind you that making the sa...
by jvierra
Sun Sep 02, 2018 9:42 pm
Forum: Windows PowerShell
Topic: Need some help in formatting the Column export result to remove the SMTP: & smtp: ?
Replies: 3
Views: 181

Re: Need some help in formatting the Column export result to remove the SMTP: & smtp: ?

It seems I have shown you how to do this about a half dozen times. You need to take time to analyze your code to understand what it is actually doing. $filter = '-not Enabled -and homeMDB' $properties = @('homeMDB', 'mailNickName', 'mail', 'DisplayName', 'SamAccountName', 'ProxyAddresses') Get-ADUse...
by jvierra
Sun Sep 02, 2018 11:48 am
Forum: PowerShell GUIs
Topic: Form ExitButton (X) action
Replies: 7
Views: 171

Re: Form ExitButton (X) action

So then you understand that you cannot detect that the "X" has been clicked. You can only detect a button click and use that to eliminate the issue?