<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Create new Zone using nxshell]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is it possible to create a new zone using nxshell in version 3.5?</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.netxms.org/topic/6705/create-new-zone-using-nxshell</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:22:01 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6705.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Oct 2020 15:15:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Create new Zone using nxshell on Tue, 06 Oct 2020 18:29:36 GMT]]></title><description><![CDATA[<p dir="auto">Yep - worked like a charm!</p>
<p dir="auto">parentId = objects.GenericObject.NETWORK # Entire Network root<br />
cd = NXCObjectCreationData(objects.GenericObject.OBJECT_ZONE, "Sample Zone", parentId);<br />
zoneId = session.createObject(cd) # createObject return ID of newly created object<br />
print '"Sample Zone" created, id=%d' % (zoneId, )</p>
]]></description><link>https://forum.netxms.org/post/28675</link><guid isPermaLink="true">https://forum.netxms.org/post/28675</guid><dc:creator><![CDATA[suphu]]></dc:creator><pubDate>Tue, 06 Oct 2020 18:29:36 GMT</pubDate></item><item><title><![CDATA[Reply to Create new Zone using nxshell on Fri, 02 Oct 2020 17:23:22 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.  I will give that a try and post my code snippet when I get it working.</p>
]]></description><link>https://forum.netxms.org/post/28654</link><guid isPermaLink="true">https://forum.netxms.org/post/28654</guid><dc:creator><![CDATA[suphu]]></dc:creator><pubDate>Fri, 02 Oct 2020 17:23:22 GMT</pubDate></item><item><title><![CDATA[Reply to Create new Zone using nxshell on Thu, 01 Oct 2020 15:22:10 GMT]]></title><description><![CDATA[<p dir="auto">nxshell allows to do anything the management console can do.</p>
<p dir="auto">Zone creation should be similar to node creation (see examples here: <a href="https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Create_Container_and_some_nodes" rel="nofollow ugc">https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations#Create_Container_and_some_nodes</a>)<br />
you just need to specify another object class</p>
]]></description><link>https://forum.netxms.org/post/28641</link><guid isPermaLink="true">https://forum.netxms.org/post/28641</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 01 Oct 2020 15:22:10 GMT</pubDate></item></channel></rss>