---
title: Set-LocalGroup
slug: homologacao-atmosphere/set-localgroup
description: Learn about the changes made to a group description with this comprehensive document. Discover the parameters for the group name and the new description, along with insights on utilizing the Powershell Command module. Find an example demonstrating the com
createdAt: 2022-07-26T18:29:06.000Z
---

## Resumo

- Muda a descrição de um grupo.

## Parâmetros

| **Parâmetro**                                                                                                                                                                                                                                                                                         | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| group\_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 do grupo.<br />string<br />- Any ***(default)***<br />- Domain<br />- NotApplicable<br />- Public<br />- Private<br />Service Group a ser filtrado. |
| description<br />                                                                                                                                                                                                                                                                                     | string   |                              | Descrição a ser mudada.                                                                                                                                  |

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

## Exemplos

```yaml
- name: Chance Group 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-LocalGroup -Name "{{ input.group_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            |

