Search found 5272 matches

by davidc
Mon Jul 02, 2018 1:38 pm
Forum: PowerShell Studio
Topic: Changing the name of the function Main in Startup.pss
Replies: 3
Views: 235

Re: Changing the name of the function Main in Startup.pss

I would recommend creating a secondary function that is called from the Main function for logging purposes. That way you don't have to modify the Main function's name.
by davidc
Mon Jul 02, 2018 11:39 am
Forum: PowerShell Studio
Topic: Changing the name of the function Main in Startup.pss
Replies: 3
Views: 235

Re: Changing the name of the function Main in Startup.pss

The generated script specifically looks for the Main function as an entry point to the project. That is why it inserts if, when you rename the functions.

Is there a reason you wish to rename the function?
by davidc
Mon Jul 02, 2018 9:44 am
Forum: PowerShell Studio
Topic: PowerShell Studio 2018 with TFS
Replies: 1
Views: 458

Re: PowerShell Studio 2018 with TFS

Sorry for the late reply. With the new PowerShell Studio release (v5.5.153) we added a new Universal Version Control system that utilizes the command line tools of source control providers. Hopefully we will be able to create a configuration on for TFS 2017 in the near future. For now, the only way ...
by davidc
Mon Jul 02, 2018 8:10 am
Forum: PowerShell Studio
Topic: Github Integration
Replies: 2
Views: 230

Re: Github Integration

If the buttons are disabled, it usually means that the application was not able to detect the Git installation.

Do you have the Git executable at the following location?

C:\Program Files\git\cmd\git.exe
by davidc
Mon Jul 02, 2018 7:59 am
Forum: PowerShell Studio
Topic: Codesigning only uses SHA1
Replies: 14
Views: 2702

Re: Codesigning only uses SHA1

We release the new build (5.5.153) with the SHA256 signing.
by davidc
Mon Jul 02, 2018 7:58 am
Forum: PowerShell Studio
Topic: "Run" or "Run In Console"
Replies: 26
Views: 3627

Re: "Run" or "Run In Console"

We released the new build (5.5.153) with the updated config files.
by davidc
Mon Jul 02, 2018 7:53 am
Forum: PowerShell Studio
Topic: PowerShell Studio fails to activate
Replies: 4
Views: 642

Re: PowerShell Studio fails to activate

Please try the latest build (v5.5.153) and see if it is able to activate.

Thank you,
by davidc
Mon Jul 02, 2018 7:51 am
Forum: PowerShell Studio
Topic: Running a ps1 file as elevated
Replies: 3
Views: 275

Re: Running a ps1 file as elevated

What error did you get? Note: anytime you run a script as another user, you have to make sure that user has access to the folder where the script is located. For example, if you run the script from user specific folder such as My Documents, the Run As might not be able to access the file. So make su...
by davidc
Mon Jul 02, 2018 7:41 am
Forum: PowerShell Studio
Topic: Include Module Version in published Module directory structure
Replies: 2
Views: 252

Re: Include Module Version in published Module directory structure

The application purposefully doesn't deploy to a version folder because of compatibility issues with older versions of PowerShell. You could potentially use the Deploy feature to copy the necessary files, but we don't have a preset variable for the module version. If you would like to see a specific...
by davidc
Mon Jul 02, 2018 7:32 am
Forum: PowerShell Studio
Topic: PowerShell Studio product manual
Replies: 1
Views: 251

Re: PowerShell Studio product manual

The manual itself consists of html pages that are displayed by the Document Explorer.
We have plans to host them on our SAPIEN Information Center. As to when this will happen, I do not know.