# 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:** 1\
**Showing post:** 2

<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

---

_[View the full topic](https://community.dynatrace.com/t/move-specific-hosts-to-the-new-environment/43211)._
