# Move specific hosts to the new environment

**URL:** <https://community.dynatrace.com/t/move-specific-hosts-to-the-new-environment/43211>\
**Category:** Cloud platforms\
**Tags:** hosts-classic\
**Created:** [December 14, 2023, 12:19pm UTC](https://community.dynatrace.com/t/move-specific-hosts-to-the-new-environment/43211 "2023-12-14T12:19:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saeedtemraz](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@saeedtemraz](https://community.dynatrace.com/u/saeedtemraz)\
**Post date:** [December 14, 2023, 12:19pm UTC](https://community.dynatrace.com/t/move-specific-hosts-to-the-new-environment/43211/1 "2023-12-14T12:19:17Z")

</div>

I have recently created an additional environment for UAT hosts. I want to know how to move specific hosts to this new environment, noting that previously we only had one environment so during installation i didn’t have to do any specific configuration, only simple installation with host group configuration.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 14, 2023, 1:16pm UTC](https://community.dynatrace.com/t/move-specific-hosts-to-the-new-environment/43211/2 "2023-12-14T13:16:35Z")

</div>

Hi,

I think you can use [this command line oneagent tool](https://docs.dynatrace.com/docs/shortlink/oneagentctl#set-environment-id) to point oneagents to new environment ID.

Best regards
