# Restart module from script?

**URL:** <https://forum.inductiveautomation.com/t/restart-module-from-script/87511>\
**Category:** Ignition\
**Created:** [March 18, 2024, 7:23pm UTC](https://forum.inductiveautomation.com/t/restart-module-from-script/87511 "2024-03-18T19:23:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Noll\_Thiessen](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@Noll\_Thiessen](https://forum.inductiveautomation.com/u/Noll_Thiessen)\
**Post date:** [March 20, 2024, 11:33am UTC](https://forum.inductiveautomation.com/t/restart-module-from-script/87511/2 "2024-03-20T11:33:40Z")

</div>

Try this example here:

> [@Restart module in a Script or in Command Line scripts](https://forum.inductiveautomation.com/t/restart-module-in-a-script-or-in-command-line-scripts/50487/17#:~:text=Wanted%20to%20comment%20with%20a%20solution%20here):
>
> Wanted to comment with a solution here. First steps are getting the module ID that needs to be reset. #this can be removed once the ID is known #start a logger to get to get the IDs of the installed modules, this will output to the gateway logs logger = system.util.getLogger("myLogger") #this will print all the results = system.util.getModules() for row in range(results.rowCount): names = results.getValueAt(row, "Id") logger.info(names) From this the following script can be used to reset t…

---

_[View the full topic](https://forum.inductiveautomation.com/t/restart-module-from-script/87511)._
