Page 1 of 1

Unable to load ActiveRoles Commandlets In PowerShell Studio

Posted: Mon Jan 08, 2018 1:39 pm
by drukamp
Hello,
I am trying to get the Quest ActiveRoles snap-in to show up when writing scripts in PowerShell Studio. Here are my system and version information:
Running on Windows 7 (6.1 build 7601: Service Pack 2)
Also running on Windows 10 (1607 build 14393.0)
PowerShell Studio 2017 v5.4.145 (installed on the Win7 and Win10 systems)
PrimalScript Version 7.3.109 (installed on the Win7 and Win10 systems)

When I try typing a commandlet from ActiveRoles, it does not show up in the list and therefore not recognized.
ScreenShot.png
ScreenShot.png (5.16 KiB) Viewed 3314 times
I have read through other posts regarding this, but nothing has worked so far. Hopefully there is just a simple setting I am missing to have this snap-in automatically load every time PowerShell Studio and PrimalScript are launched.

Thank you in advanced.

Re: Unable to load ActiveRoles Commandlets In PowerShell Studio

Posted: Mon Jan 08, 2018 2:04 pm
by cody m
I know you have read through some other posts and have tried a few things to trouble shoot this, but have you tried refreshing the local cache?

Re: Unable to load ActiveRoles Commandlets In PowerShell Studio

Posted: Tue Jan 09, 2018 11:57 am
by drukamp
Hi Cody,
That worked! Thank you so much!

- Mike

Re: Unable to load ActiveRoles Commandlets In PowerShell Studio

Posted: Tue Jan 09, 2018 11:59 am
by cody m
You're welcome Mike.

Re: Unable to load ActiveRoles Commandlets In PowerShell Studio

Posted: Mon Feb 12, 2018 4:53 pm
by mxtrinidad
About the QUEST "One Identity Active Roles" version 7.2 application, verify you can find the modules install at the PowerShell Console first:

PS C:\Users\Administrator> Get-Module -ListAvailable ActiveRoles* | Select-Object Name, version, Path | Format-List

Name : ActiveRolesConfiguration
Version : 7.2
Path : C:\Program Files\One Identity\Active Roles\7.2\Shell\ActiveRolesConfiguration\ActiveRolesConfiguration.psd1

Name : ActiveRolesManagementShell
Version : 7.2
Path : C:\Program Files\One Identity\Active
Roles\7.2\Shell\ActiveRolesManagementShell\ActiveRolesManagementShell.psd1

In PowerShell Studio, open the "Cache Editor", click the "Import Module" button, and search for the desired *.psd1 file to load the module.
To complete the import click on the "Build Cache" button, then click "Close" to exit the Cache Editor.

At this time the browser will display the imported module "ActiveRolesManagementShell".
No Snapins here!
ActiveRoles_2018-02-12_19-38-09.jpg
ActiveRoles_2018-02-12_19-38-09.jpg (300.52 KiB) Viewed 2610 times
I'm hoping this helps!
(See Image)