No Parameter suggestion

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Pwnisher1337
Posts: 8
Last visit: Wed Aug 24, 2022 12:35 am

No Parameter suggestion

Post by Pwnisher1337 »

Product, version and build: 2018 5.5.153
32 or 64 bit version of product: 64
Operating system: Win 10
32 or 64 bit OS: 64

Hello,

I'm facing a extremely annoying issue with PowerShell Studio, when i want to use the Parameters of a cmdlet, lets say like Import-Csv, the Parameters are not suggested.

This is at my Company Computer
2018-07-23 14_47_54-SAPIEN PowerShell Studio 2018.png
2018-07-23 14_47_54-SAPIEN PowerShell Studio 2018.png (1.7 KiB) Viewed 3292 times
This is at my Home Computer where it works fine
2018-07-23 14_48_41.png
2018-07-23 14_48_41.png (6.44 KiB) Viewed 3292 times
And here are the settings from the Company Computer
2018-07-23 14_50_09-SAPIEN PowerShell Studio 2018.png
2018-07-23 14_50_09-SAPIEN PowerShell Studio 2018.png (20.34 KiB) Viewed 3292 times
I tried to reinstall the SW but that didn't help either, any idea how to resolve that issue?

Best Regards
Pwn
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: No Parameter suggestion

Post by davidc »

Is the issue limited to the one cmdlet or all cmdlets? I suspect something might be off in the cmdlet's cache.

Please zip and upload the following folder:

C:\Users\(username)\AppData\Roaming\SAPIEN\CachedData 2018\Local Machine

To:

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

Hopefully the cache files will help us identify the problem.
David
SAPIEN Technologies, Inc.
User avatar
Pwnisher1337
Posts: 8
Last visit: Wed Aug 24, 2022 12:35 am

Re: No Parameter suggestion

Post by Pwnisher1337 »

Dear Davidc,

It's not working with all the cmdlets, i uploaded the files as requested.

Thanks for having a look at it.

BR
Pwn
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: No Parameter suggestion

Post by davidc »

It looks like you are missing the cmdlet cache files altogether. I only see the external command line tools cache. Try refreshing the cache (Ribbon->Home->Platform->Refresh Local Cache):
Refresh Cache.png
Refresh Cache.png (33.03 KiB) Viewed 3265 times
David
SAPIEN Technologies, Inc.
User avatar
Pwnisher1337
Posts: 8
Last visit: Wed Aug 24, 2022 12:35 am

Re: No Parameter suggestion

Post by Pwnisher1337 »

Dear Davidc,

i tried to refresh the cache but nothing seems to change, it says:

>> Please allow a few minutes for the caching to complete.
>> Completed Cache Information

so this took like 1sec and it completed.

Any further suggestion?

BR
Pwn
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: No Parameter suggestion

Post by davidc »

One sec is too fast, something is failing. Are there any new files the Local Machine folder? Also check the Event Logs for any errors.
David
SAPIEN Technologies, Inc.
User avatar
Pwnisher1337
Posts: 8
Last visit: Wed Aug 24, 2022 12:35 am

Re: No Parameter suggestion

Post by Pwnisher1337 »

Dear Davidc,

I've checked the Local Machine folder and there are no new files, didn't find any specific error in the Eventviewer.
I think it's something environment specific since it didn't work on a other Company Laptop too, no clue what that could be.

Br
Pwn
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: No Parameter suggestion

Post by davidc »

Can you verify that you have files in the following locations?

C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2018\CacheBuilder64\
C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2018\CacheBuilder32\

Expected Files:
CacheBuilderXX.exe (where XX is 64 or 32).
CacheBuilderXXV2.exe (where XX is 64 or 32).
CacheEditXX.exe
CacheProxyV2.dll
CacheProxyV3.dll
CacheProxyV5.dll
ModuleImporterV2.dll
ModuleImporterV3.dll
ModuleImporterV5.dll

You could try running CacheBuilder64.exe in the console and see if you get any error messages. This that doesn't work, we can try creating the cache the manual way by opening the CacheEditor:
Ribbon - Cache Edit.png
Ribbon - Cache Edit.png (15.02 KiB) Viewed 3069 times

If no platforms are list, try added a new version and then check the desired modules from the list:
CacheEdit - Add New PowerShellVersion.png
CacheEdit - Add New PowerShellVersion.png (42.77 KiB) Viewed 3069 times

Then press the Build button. Hopefully the CacheEdit can create files in the Local Machine folder.
David
SAPIEN Technologies, Inc.
User avatar
Pwnisher1337
Posts: 8
Last visit: Wed Aug 24, 2022 12:35 am

Re: No Parameter suggestion

Post by Pwnisher1337 »

Dear Davidc,

The files are all there, when i try to start the CacheEdit64.exe the following message appears:
CacheBuilder64_Error.png
CacheBuilder64_Error.png (7.72 KiB) Viewed 2992 times
So i installed the Visual C++ Redistributable for Visual Studio 2012 Update 4 which then Fixed the issue for me.

Thank you so much Davidc for your awesome support.

Br
Pwn
This topic is 5 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.