# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
