Search found 5575 matches

by davidc
Fri Dec 14, 2018 8:23 am
Forum: Windows PowerShell
Topic: ThreadOptions ReuseThread not working
Replies: 7
Views: 492

Re: ThreadOptions ReuseThread not working

The host does not support / implement the Runspace property. Why do you need to change the runspace's ThreadOption?
by davidc
Fri Dec 14, 2018 7:44 am
Forum: Customer Service
Topic: Cannot verify subscription for productivity pack
Replies: 6
Views: 1010

Re: Cannot verify subscription for productivity pack

The productivity pack uses a separate key that should start with ##-PPK. To access the key, click on the Productivity Pack button next to your subscription number in your Registered Products page:

https://www.sapien.com/account/products

Productivity Pack Button.png
Productivity Pack Button.png (26.36 KiB) Viewed 1004 times
by davidc
Thu Dec 13, 2018 1:51 pm
Forum: Windows PowerShell
Topic: Self-Updating Powershell Windows Service?
Replies: 3
Views: 375

Re: Self-Updating Powershell Windows Service?

Depending on the account the service is running, you probably don't need elevation. Have the service download the msi and kick off the install process. The msi installs, it will automatically start up the service for you.
by davidc
Thu Dec 13, 2018 12:05 pm
Forum: Windows PowerShell
Topic: Self-Updating Powershell Windows Service?
Replies: 3
Views: 375

Re: Self-Updating Powershell Windows Service?

If you are using an MSI installer for the service, all you would have to do it download the new MSI and run it (elevated). The MSI should automatically stop the service before updating it.
by davidc
Thu Dec 13, 2018 8:54 am
Forum: PowerShell Studio
Topic: Only Entry "V2 - 32Bit" after Upgrading
Replies: 12
Views: 2404

Re: Only Entry "V2 - 32Bit" after Upgrading

I reviewed the uploaded files and it seems to be missing files that should be there even if the cache fails. Also, some files have the incorrect name, where they are missing a portion of the name. Let's check the following: 1. Check the Windows Event logs under Applications. Do you see any errors re...
by davidc
Wed Dec 12, 2018 3:49 pm
Forum: PowerShell Studio
Topic: Here-String not working PowerShell Studio 2019
Replies: 6
Views: 1310

Re: Here-String not working PowerShell Studio 2019

This sounds like a line ending issue. Usually Notepad expects CRLF (`r`n) line endings and if it is just LF (`n) it will show the text all on the same line.
by davidc
Wed Dec 12, 2018 3:45 pm
Forum: PowerShell Studio
Topic: Unhandled Exception Error
Replies: 1
Views: 806

Re: Unhandled Exception Error

We have been unable to reproduce this issue. The fact that it is a preview version could have to do with it, but try installing .NET 2.0 and see if that makes a difference for you.
by davidc
Wed Dec 12, 2018 9:18 am
Forum: PowerShell Studio
Topic: Here-String not working PowerShell Studio 2019
Replies: 6
Views: 1310

Re: Here-String not working PowerShell Studio 2019

In order to investigate, please zip the psf or project and upload it here:

https://www.sapien.com/support/upload

Be sure to include the psbuild file so we know what settings you are using.
Also, please include the text files for before and after the update (if possible).
by davidc
Tue Dec 11, 2018 1:59 pm
Forum: PowerShell Studio
Topic: Custom Module Not Loading
Replies: 1
Views: 764

Re: Custom Module Not Loading

If you have a psm1 in with Build is set to Content and Shared = True , your script must still load psm1 file during execution in order for PowerShell to discover the functions. Is there a reason you are using a psm1 instead of just using ps1 that are built as part of the project? If you set the Buil...