The Lithnet Resource Management PowerShell module (LithnetRMA) makes working with the FIM/MIM service faster and easier. It abstracts away the complexity of the FIM service and the FIMAutomation PowerShell module, and provides a set of cmdlets for creating, updating, deleting, and searching for resources.
Version 2 of the module runs on both Windows PowerShell 5.1 and PowerShell 7, and is built on version 2 of the Lithnet Resource Management Client library.
Install the module from the PowerShell Gallery
Install-Module LithnetRMAOr download the MSI installer from the releases page. The installer places the module in the machine-wide module path, where both Windows PowerShell 5.1 and PowerShell 7 can load it.
Windows PowerShell 5.1 requires .NET Framework 4.8. PowerShell 7.4 or later is required for PowerShell 7 support.
Use Set-ResourceManagementClient to configure the connection before calling other cmdlets.
# Windows PowerShell 5.1, connecting directly to the MIM service
Set-ResourceManagementClient -BaseAddress http://mim-service:5725
# PowerShell 7 on Windows, using the built-in local proxy
Set-ResourceManagementClient -BaseAddress pipe://mim-service
# PowerShell 7 on any platform, using the remote proxy service installed on the MIM server
Set-ResourceManagementClient -BaseAddress rmc://mim-serviceThe client library supports several connection modes, selected automatically from the URI scheme or with the -ConnectionMode parameter.
| Mode | URI scheme | Works in | Approval operations |
|---|---|---|---|
DirectWsHttp |
http:// (port 5725) |
Windows PowerShell 5.1 | Supported |
DirectNetTcp |
net.tcp:// (port 5736) |
Both editions, all platforms | Not supported |
LocalProxy |
pipe:// |
PowerShell 7 on Windows | Supported |
RemoteProxy |
rmc:// (port 5735) |
Both editions, all platforms | Supported |
DirectNetTcp requires the net.tcp endpoints to be enabled on the MIM service, and RemoteProxy requires the Lithnet Resource Management Proxy service to be installed on the MIM server. See the connection guide for details of each mode, the server-side setup steps, and the full set of connection options.
- Found an issue and want us to fix it? Log it
- Want to fix an issue yourself or add functionality? Clone the project and submit a pull request
Lithnet offer enterprise support plans for our open-source products. Deploy our tools with confidence that you have the backing of the dedicated Lithnet support team if you run into any issues, have questions, or need advice. Simply fill out the request form, let us know the number of users you are managing with your MIM implementation, and we'll put together a quote.
