> For the complete documentation index, see [llms.txt](https://docs.lithnet.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lithnet.io/resource-management-powershell/v1.0/usage/cmdlet-reference/set-resourcemanagementclient.md).

# Set-ResourceManagementClient

### Description

The `Set-ResourceManagementClient` cmdlet allows you to control parameters of the connection to the FIM Service.

### Syntax

```
Set-ResourceManagementClient [-BaseAddress <string>] [-Credentials <PSCredentials>] [-ServicePrincipalName <string>] [-ForceKerberos <bool>] [-RefreshSchema]
```

### Parameters

**BaseAddress**

Optional. Specifies the URL to the resource management web service. If not specified, the default value of <http://localhost:5725> is used

**Credentials**

Optional. By default, the credentials of the currently logged on user are used. Other credentials can be specified using this parameter

**ServicePrincipalName**

Optional. By default the client will use `FIMService/hostname` for the SPN. You can override the SPN used here

**ForceKerberos**

Optional. A value indicating if the client should force Kerberos, and not allow NTLM authentication to the FIM service

**RefreshSchema**

Optional. A value indicating if the client should force a schema refresh.

### Examples

```powershell
# Specify a FIM service address
Set-ResourceManagementClient -BaseAddress http://fimservice:5725
# Specify a FIM service address and SPN
Set-ResourceManagementClient -BaseAddress http://fimservice:5725 -ServicePrincipalName FIMService/otherhostname
# Allow the client to fall-back to NTLM authentication
Set-ResourceManagementClient -ForceKerberos $false
# Connect to the FIM service, prompting the user for credentials
Get-Credential | Set-ResourceManagementClient -BaseAddress http://fimservice:5725 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.lithnet.io/resource-management-powershell/v1.0/usage/cmdlet-reference/set-resourcemanagementclient.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
