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