Search found 5440 matches

by davidc
Mon Oct 22, 2018 10:54 am
Forum: PowerShell Studio
Topic: psscriptanalyzer
Replies: 1
Views: 69

Re: psscriptanalyzer

In order to use this feature, you must have the PSScriptAnalyzer module installed:

https://www.powershellgallery.com/packages/PSScriptAnalyzer/1.17.1

Otherwise you get the error that is displayed.
by davidc
Fri Oct 19, 2018 8:25 am
Forum: PowerShell Studio
Topic: Cannot get PSS to recognize Exchange connection or Module
Replies: 1
Views: 249

Re: Cannot get PSS to recognize Exchange connection or Module

Please answer the following questions so that I can assist you further: 1. What version of the Exchange snapin is installed? 2. Since you as using New-PSSession, Is the snapin is installed on a remote machine or locally? If the module is installed on a remote machine, you can export the cache from t...
by davidc
Fri Oct 19, 2018 8:01 am
Forum: PowerShell GUIs
Topic: Click button and search AD
Replies: 8
Views: 269

Re: Click button and search AD

[TOPIC MOVED TO POWERSHELL GUIS FORUM BY MODERATOR]
by davidc
Tue Oct 16, 2018 8:48 am
Forum: PowerShell Studio
Topic: Can we share our files on GitHub ?
Replies: 1
Views: 287

Re: Can we share our files on GitHub ?

Yes, it is perfectly fine to share your projects files on GitHub. Your license information is not stored in project files. But I highly recommend removing any sensitive information, such as the alternate credentials in the packager settings. If you just wish to just share the exported / generated sc...
by davidc
Mon Oct 15, 2018 7:30 am
Forum: PowerShell GUIs
Topic: font changed for data gridview and it is not following the form's font
Replies: 1
Views: 73

Re: font changed for data gridview and it is not following the form's font

The DataGridView should inherit the font style of the form by default, unless you changes the RowsDefaultCellStyle property or set the grid's Font property in your script.

https://info.sapien.com/index.php/guis/gui-controls/ambient-properties
by davidc
Fri Oct 12, 2018 11:50 am
Forum: PowerShell Studio
Topic: [PSS 2018][Bug] File Template for non-ps1 files
Replies: 3
Views: 512

Re: [PSS 2018][Bug] File Template for non-ps1 files

This issue will be resolved in the next service release. Synchronization is not related in this case.
by davidc
Fri Oct 12, 2018 7:45 am
Forum: PowerShell Studio
Topic: [PSS 2018][Bug] File Template for non-ps1 files
Replies: 3
Views: 512

Re: [PSS 2018][Bug] File Template for non-ps1 files

It doesn't load because PowerShell Studio isn't aware of the file type. We will investigate further and see what we can do.
by davidc
Thu Oct 11, 2018 3:09 pm
Forum: PowerShell Studio
Topic: Error while trying to deploy scripts
Replies: 8
Views: 992

Re: Error while trying to deploy scripts

I attached an updated version of PSBuild.exe:
PSBuild.zip
(183.36 KiB) Downloaded 2 times
Please backup and replace the existing version, which is located in the installation directory of PowerShell Studio.

Then re-deploy the project and see if you get a different error message.
by davidc
Thu Oct 11, 2018 2:27 pm
Forum: PowerShell Studio
Topic: Register-ScheduledTask in WinForm complied exe
Replies: 3
Views: 479

Re: Register-ScheduledTask in WinForm complied exe

Something functions differently in a package executable. For example, getting the path of the executing script file is different in an executable. For that you will need to use the Get-ScriptDirectory function (in snippet of the same name). As for packager settings, make sure you are using the same ...
by davidc
Thu Oct 11, 2018 1:36 pm
Forum: PowerShell GUIs
Topic: Pass parameters to another forms application.
Replies: 2
Views: 224

Re: Pass parameters to another forms application.

[TOPIC MOVED TO THE POWERSHELL GUIS FORUM BY MODERATOR] You need to have a parameter block in the startup.pss file and then pass the parameter again to the Show-OnboardUpdate_psf reference function. I recommend reading the following articles: Passing parameter to a packaged executable: https://info....