> 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
