Support Forums

custom Modules not highlighting/ loading in object broswer

Use this forum to ask questions before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
John.dansak
Posts: 4
Joined: Sat Dec 12, 2015 6:18 pm

custom Modules not highlighting/ loading in object broswer

Postby John.dansak » Thu Feb 04, 2016 1:38 pm

Product, version and build: PowerShell Studio 2015 Active Trial Version 4.2.99
32 or 64 bit version of product: 64-bit
Operating system: Windows 10 version 1511 OS build 10586.71
32 or 64 bit OS: 64bit



New to PowerShell Studio so this may be a user error, but none of my imported modules commands are showing in the Object browser or are being colored/highlighted in the scripting panel.

I have tried rebuilding the cache a couple times. also I have tried to load them various ways ( i.e when the PSmodules path didn't work, I added imported thru my profile/ manually imported. Then rebuilt the cache again. ) Also I have checked the cmdlet primalsense is set to all cmdlets.

but nothing seems to work.

As of right now I'm only trying to load the AWS modules, and they are working in the ISE without issue. Any ideas of what I should try next?
Attachments
Capture.PNG
Capture.PNG (135.43 KiB) Viewed 7274 times
psmodules.txt
$env:PSModulePath > c:\temp\psmodules.txt
(430 Bytes) Downloaded 160 times
User avatar
DevinL
Site Admin
Posts: 569
Joined: Mon Aug 17, 2015 2:25 pm

Re: custom Modules not highlighting/ loading in object broswer

Postby DevinL » Thu Feb 04, 2016 3:37 pm

There appears to be something hinky going on with the AWS Module. We're investigating this and will reply when we have more information.
DevinL
SAPIEN Technologies, Inc.
User avatar
John.dansak
Posts: 4
Joined: Sat Dec 12, 2015 6:18 pm

Re: custom Modules not highlighting/ loading in object broswer

Postby John.dansak » Thu Feb 04, 2016 4:14 pm

DevinL wrote:There appears to be something hinky going on with the AWS Module. We're investigating this and will reply when we have more information.



So it's with the AWS module and PowerShell studio, an not my setup. I feel better, thank you.
User avatar
DevinL
Site Admin
Posts: 569
Joined: Mon Aug 17, 2015 2:25 pm

Re: custom Modules not highlighting/ loading in object broswer

Postby DevinL » Thu Feb 04, 2016 5:13 pm

While we look into why exactly the AWS Module isn't being detected, I have a workaround so that it will cache the module in the meantime.

1) After installing PowerShell Studio and the AWS Tools for PowerShell, I refreshed the cache with no success.
2) I rebooted the machine and from the PowerShell Studio console I ran Import-Module AWSPowerShell
3) Refresh the cache one final time and then the AWS Module appeared.

If you could, please try the above and let me know if that fixes it.
DevinL
SAPIEN Technologies, Inc.
User avatar
John.dansak
Posts: 4
Joined: Sat Dec 12, 2015 6:18 pm

Re: custom Modules not highlighting/ loading in object broswer

Postby John.dansak » Fri Feb 05, 2016 4:51 pm

no luck I'm going to reinstall everything tomorrow and see what I can find. thanks you looking. I'll let you know what I find.
User avatar
John.dansak
Posts: 4
Joined: Sat Dec 12, 2015 6:18 pm

Re: custom Modules not highlighting/ loading in object broswer

Postby John.dansak » Fri Feb 05, 2016 7:45 pm

I now have it working

What I did is just copy the whole AWSPowerShell directory in C:\Program Files (x86)\AWS Tools\PowerShell to the C:\Windows\System32\WindowsPowerShell\v1.0\Modules



I not sure why but either my $env:PSmodelPath is wonky or PowerShell studio is have issues with it on this machine.

DevinL, Thank you for the super quick responses.
User avatar
DevinL
Site Admin
Posts: 569
Joined: Mon Aug 17, 2015 2:25 pm

Re: custom Modules not highlighting/ loading in object broswer

Postby DevinL » Fri Feb 05, 2016 8:06 pm

Not a problem, just glad to know you got it working. Hopefully we'll be able to narrow down the exact problem and solve it soon.

If you have any further issues, please don't hesitate to post again.
DevinL
SAPIEN Technologies, Inc.

Return to “Trial Software Questions”

Who is online

Users browsing this forum: No registered users and 3 guests