Support Forums

Search found 4448 matches

by davidc
Tue Nov 22, 2016 10:46 am
Forum: PowerShell Studio
Topic: Error in function builder
Replies: 2
Views: 108

Re: Error in function builder

The example that is generated is once just as a sample of that it should look like. You need to manually alter the text and create your own valid sample.
by davidc
Tue Nov 22, 2016 10:21 am
Forum: Wish List and Feature Requests
Topic: [PSS 2016] Do Not Edit File on Build Module
Replies: 4
Views: 162

Re: [PSS 2016] Do Not Edit File on Build Module

It sounds like you have your project in the same folder the module project exports to. Keep the PowerShell Studio project folder in your My Documents\SAPIEN\PowerShell Studio\Projects folder. And then when the project builds, it will automatically copy the final psm1 file (and any content files) to ...
by davidc
Thu Nov 17, 2016 2:16 pm
Forum: PowerShell Studio
Topic: Debugging with traceponits give me different results than normal RUN.
Replies: 3
Views: 85

Re: Debugging with traceponits give me different results than normal RUN.

PowerShell scoping rules can be tricky at times and they differ from V2 to V3. The very act of observing a variable during a debug (trace included) can change the state of the PowerShell engine. I suspect this is case, but I'm not sure why it happens in one scenario and not the other. My recommendat...
by davidc
Thu Nov 17, 2016 12:25 pm
Forum: PowerShell Studio
Topic: Debugging with traceponits give me different results than normal RUN.
Replies: 3
Views: 85

Re: Debugging with traceponits give me different results than normal RUN.

You are probably running into a scoping issue. I recommend removing the global scope from the colInfo variable:

Code: Select all

$colInfo = @()
by davidc
Wed Nov 16, 2016 9:18 am
Forum: PowerShell Studio
Topic: [PSS 2016][Bug]Long wait on project load
Replies: 3
Views: 94

Re: [PSS 2016][Bug]Long wait on project load

Can you clarify what you mean by import?

When opening the project, the initial conversion of reference function verbs can be slow, but it should not delay much afterward. We will investigate.

I'm assuming you are not able to share the project. Is that correct?
by davidc
Wed Nov 16, 2016 9:01 am
Forum: PowerShell GUIs
Topic: Referencing Variables across the events
Replies: 10
Views: 153

Re: Referencing Variables across the events

[TOPIC MOVED TO POWERSHELL GUIS FORUM BY MODERATOR]
by davidc
Tue Nov 15, 2016 10:50 am
Forum: PowerShell Studio
Topic: How to upgrade PS version within Powershell Studio 2014
Replies: 2
Views: 70

Re: How to upgrade PS version within Powershell Studio 2014

Try following the steps listed in the following article:

https://www.sapien.com/blog/2013/02/25/ ... owershell/

PowerShell V5 support was introduced in PowerShell Studio 2015, therefore your 2014 version will not support V5.
by davidc
Tue Nov 15, 2016 10:43 am
Forum: PowerShell Studio
Topic: Corrupt update exe 5.2.130
Replies: 2
Views: 51

Re: Corrupt update exe 5.2.130

Are you using the Update Tool to try to download the latest build? If so, please try again.
by davidc
Mon Nov 14, 2016 9:16 am
Forum: PowerShell Studio
Topic: Creating parameters with defult values
Replies: 4
Views: 119

Re: Creating parameters with defult values

If you use the System.Drawing.Color type, PowerShell Studio will automatically list the available colors.

Code: Select all

[System.Drawing.Color]$color


This way you don't have to create a ValidationSet.
by davidc
Thu Nov 10, 2016 4:59 pm
Forum: PowerShell GUIs
Topic: Move contents of textbox to another textbox
Replies: 2
Views: 83

Re: Move contents of textbox to another textbox

[TOPIC MOVED TO THE POWERSHELL GUI FORUM BY MODERATOR]

Go to advanced search