Product, version and build: PowerShell Studio 2018 v5.5.148
32 or 64 bit version of product: 64-bit
Operating system: Windows 10 1703
32 or 64 bit OS: 64-bit
I am having the same issue from this post since updating PowerShell Studio
viewtopic.php?f=12&t=12228
I ran the Refresh Local Cache and it still does not recognize the ActiveRoles commandlets. Ran the refresh, closed and reopened PowerShell Studio, and rebooted my system. Is there anything else I can try?
Unable to load ActiveRoles Commandlets In PowerShell Studio Take 2
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.
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.
Re: Unable to load ActiveRoles Commandlets In PowerShell Studio Take 2
What version of the ActiveRoles snapin you have installed? This way we can attempt to recreate the issue on our end.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Unable to load ActiveRoles Commandlets In PowerShell Studio Take 2
OK!! 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!
I'm hoping this helps!
{See image}
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!
I'm hoping this helps!
{See image}
Re: Unable to load ActiveRoles Commandlets In PowerShell Studio Take 2
Ironically, there is no .psd1 file in the install folder:
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Unable to load ActiveRoles Commandlets In PowerShell Studio Take 2
OK! So, this is a machine running Windows 7 and using an old version of Quest Active Roles cmdlets. And, I'm afraid to say the old Quest module was probably meant to work on PowerShell v2.
Please, try the following resolution at "One Identity (Quest)" support page:
How to manually load the ActiveRoles Management Shell modules in PowerShell (122904)
https://support.oneidentity.com/kb/1229 ... powershell
I notice you have the file "Quest.ActiveRoles.ArsPowerShellSnapIn.dll" listed on that folder image The instructions recommend the snapin need to be loaded manually. So, you need to include this file in your PowerShell User Profile so it can be loaded every time you open the PowerShell console.
But, if you want to use it with PowerShell Studio, I suggest to install version 7.2 ( https://www.oneidentity.com/products/active-roles/), then follow the previous instructions to make it available on the Cache Editor.
PowerShell Snapins are a thing of the past and should be avoided.
Hope this helps!
Please, try the following resolution at "One Identity (Quest)" support page:
How to manually load the ActiveRoles Management Shell modules in PowerShell (122904)
https://support.oneidentity.com/kb/1229 ... powershell
I notice you have the file "Quest.ActiveRoles.ArsPowerShellSnapIn.dll" listed on that folder image The instructions recommend the snapin need to be loaded manually. So, you need to include this file in your PowerShell User Profile so it can be loaded every time you open the PowerShell console.
But, if you want to use it with PowerShell Studio, I suggest to install version 7.2 ( https://www.oneidentity.com/products/active-roles/), then follow the previous instructions to make it available on the Cache Editor.
PowerShell Snapins are a thing of the past and should be avoided.
Hope this helps!