---
title: Set-LocalUser
slug: homologacao-atmosphere/set-localuser
description: Learn about the changes made to a user's description with this comprehensive document. Discover the parameters involved, such as the user's name and the updated description. Explore how the Powershell Command module is utilized and find an illustrative ex
createdAt: 2022-07-26T18:29:04.000Z
---

## Resumo

- Muda a descrição de um user.

## Parâmetros

| **Parâmetro**                                                                                                                                                                                                                                                                                  | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                                                                                                                                              |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| name<br /><br />string<br />- Any ***(default)***<br />- Domain<br />- NotApplicable<br />- Public<br />- Private<br />Service Group a ser filtrado.<br />string<br />- Any ***(default)***<br />- Domain<br />- NotApplicable<br />- Public<br />- Private<br />Service Group a ser filtrado. | string   |                              | Nome dado ao user.<br />string<br />- Any ***(default)***<br />- Domain<br />- NotApplicable<br />- Public<br />- Private<br />Service Group a ser filtrado. |
| description<br />                                                                                                                                                                                                                                                                              | string   |                              | Descrição do user a ser mudada                                                                                                                               |

Utiliza parâmetros do módulo [Powershell Command](https://docs.simonops.com/homologacao-atmosphere/powershell-command).

## Exemplos

```yaml
- name: Chance Account Description
  powershell_command:
    server: "{{ input.server }}"
		port: "{{ input.port }}"
		ssl: "{{ input.ssl }}"
    username: "{{ input.username }}"
    password: "{{ input.password }}"
		show_errors: "{{ input.show_errors }}"
		show_warnings: "{{ input.show_warnings }}"
    command: |
      Set-LocalUser -Name "{{ input.name }}" -Description "{{ input.description }}" | ConvertTo-Json
  register: result
```

## Valores retornados

| **Chave**        | **Tipo** | **Retornado quando** | **Descrição**              |
| ---------------- | -------- | -------------------- | -------------------------- |
| output           | string   | Sempre               | Saída da execução          |
| had\_errors      | boolean  | Sempre               | Se teve erros              |
| output\_errors   | string   | Sempre               | Erros de saída da execução |
| output\_warnings | string   | Sempre               | Avisos de saída            |

