Applies To:
GroupID 10 – GroupID Management Shell
Problem Statement:
We want to use GroupID Management Shell to create Smart Groups. However, when we launch Management Shell, it gives the following error and no cmdlet seems to work. Is there a way to resolve this issue?
Solution:
This issue occurs when GroupID Management Shell is unable to load the Nest.dll file while making a connection to the identity store. To resolve it, follow the steps given below.
Note: | It is highly recommended to create a backup or snapshot of the GroupID instances before proceeding with any major changes. |
Steps:
-
Locate the GroupID.ps1 file at the following location and create a backup of the original file before making any changes to it.
[GroupID Installation drive]:\Program Files\Imanami\GroupID 10.0\ -
Open the file with Notepad++ and find the following code on lines 18-21.
-
Replace these lines of code with the following and save the changes.
if (test-path "HKLM:\SOFTWARE\Imanami\GroupID\Version 10.0")
{
$global:groupidhome = (get-itemproperty "HKLM:\SOFTWARE\Imanami\GroupID\Version 10.0").Path
}
[System.IO.Directory]::SetCurrentDirectory($global:groupidhome)
[Reflection.assembly]::LoadFile($global:groupidhome + 'Nest.dll')
-
Relaunch GroupID Management Shell and it will load normally, as shown below:
All the standard cmdlets available within GroupID Management Shell to manage, create, and manipulate objects can be used now.Note: In case you run into problems, contact support@imanami.com.