---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/servicenow-platform

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Configure MID Server as WinRM trusted host

# Configure MID Server as WinRM trusted host {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

In environments using Windows Remote Management (WinRM), Discovery or Service Mapping can discover servers using the WinRM protocol. Add servers, which are part of WinRM, as trusted hosts on all MID Servers that Discovery or Service Mapping use for discovery.

## Antes de Iniciar

Role required: mid_admin  

|-|
|   |
[ ]

{#enable-winRM-MID-servers__table_wyl_ys4_nhb}

## Por Que e Quando Desempenhar Esta Tarefa

MID Server cannot access servers
using the WinRM protocol unless these servers are configured as trusted hosts for
this MID Server.

Perform this procedure on each MID Server used by Service Mapping or Discovery.

## Procedimento

1. On the MID Server, open the command-line shell.
2. To add all servers to the TrustedHosts lists, run the following command:  
   `winrm s winrm/config/client '@{TrustedHosts="*"}'`
3. To add specific servers to the TrustedHosts list, run the command with the comma-separated hosts instead of the asterisk (\*), for example:  
   `winrm s winrm/config/client
   '@{TrustedHosts="serverA,serverB,serverC"}'`

