Search found 14864 matches

by jvierra
Fri Jul 23, 2021 5:01 pm
Forum: PowerShell
Topic: Script Help
Replies: 3
Views: 844

Re: Script Help

I just told you the better way. YOu also don;t need to select and convert as the selector alreadyt does all of that. YOu are enumerating the results repeatedly when you don't need to enumerate anything. WHat most people who have not learned Power5Shell miss is that PowerShell is an enumerator althou...
by jvierra
Fri Jul 23, 2021 1:28 am
Forum: PowerShell GUIs
Topic: How to Clear Hostname Variable
Replies: 3
Views: 241

Re: How to Clear Hostname Variable

WHy do you have to change the hostname? WHy are you using SQLCMD in a GUI? Changing a hostname after starting an app will not change it foro the app unless you exit the app and restart it. Overal I see that you have no programming experience and you are just guessing at how to do this. Normally we w...
by jvierra
Thu Jul 22, 2021 11:09 am
Forum: PowerShell
Topic: Script Help
Replies: 3
Views: 844

Re: Script Help

To do that the selector and formatter have to be outside of the data loop.
by jvierra
Wed Jul 21, 2021 2:13 am
Forum: PowerShell GUIs
Topic: How to Clear Hostname Variable
Replies: 3
Views: 241

Re: How to Clear Hostname Variable

Sorry but it is impossible to know what you are asking. Without some idea of what variable you are asking about there is no way to suggest an answer. WHat are teh "host/ip pairs" There is no such technical variable or thing. Without some clear idea of what you have and how you are proceeding then we...
by jvierra
Fri Jul 16, 2021 6:36 am
Forum: PowerShell GUIs
Topic: Size box not taking entered values
Replies: 3
Views: 614

Re: Size box not taking entered values

It is good that that was the issue as there could be other causes. Your issues have nothing to do with Sapien. PSS is just a frame that uses Microsoft Net tools to design forms. Sapien inforces nothing and doesn't alter any default behaviors. Everything you see is Microsoft WinForms. The issue is th...
by jvierra
Thu Jul 15, 2021 11:35 pm
Forum: PowerShell GUIs
Topic: Different results in Form .ps1 vs .exe
Replies: 3
Views: 584

Re: Different results in Form .ps1 vs .exe

WStill not enough information to know what you are doing.
by jvierra
Thu Jul 15, 2021 8:42 pm
Forum: PowerShell GUIs
Topic: Size box not taking entered values
Replies: 3
Views: 614

Re: Size box not taking entered values

Control is set to autosize? Not enough info to know the exact answer.
by jvierra
Thu Jul 15, 2021 6:35 pm
Forum: PowerShell GUIs
Topic: Progress bar when running PS cmdlet
Replies: 1
Views: 441

Re: Progress bar when running PS cmdlet

Again you have too little useful information to know what your issue is.

See the online examples for how to use a ProgressBar.
by jvierra
Thu Jul 15, 2021 6:32 pm
Forum: PowerShell GUIs
Topic: Different results in Form .ps1 vs .exe
Replies: 3
Views: 584

Re: Different results in Form .ps1 vs .exe

Sorry but images won't tell us anything. Why dotsource anything? It is only useful to load referenced functions as global functions.

It sounds like you are getting an undetected error or null from some missing function.
by jvierra
Sat Jul 10, 2021 1:38 pm
Forum: PowerShell
Topic: Notify Icon Setting
Replies: 5
Views: 1370

Re: Notify Icon Setting

Here is one way to generate and manage notifications with PowerShell: https://den.dev/blog/powershell-windows-notification/