<?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[Script to activate unsupported DCIs]]></title><description><![CDATA[<p dir="auto">My goal is the write a script that I can run from the server console that will walk through a group of nodes in a particular container and activate DCIs that are currently disabled and showing as unsupported.</p>
<p dir="auto">My first question, is this possible?</p>
<p dir="auto">Second, I'd like to write a script that can run even with CheckTrustedNodes set 1.  My first problem is retrieving the root object.  I know I am suppose to use:</p>
<pre><code>$r = FindObject("1",$object);
</code></pre>
<p dir="auto">but $r is always null, and my thought is that I don't have permission to access the root object.  My user is part of the admins group.  Am I missing something here?  Andrew</p>
]]></description><link>https://forum.netxms.org/topic/5357/script-to-activate-unsupported-dcis</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:04:55 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5357.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Dec 2017 01:22:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Script to activate unsupported DCIs on Wed, 31 Jan 2018 13:16:35 GMT]]></title><description><![CDATA[<p dir="auto">I think it will be easyer for you to use NXShell script for this purposes. Examles cn be found there: <a href="https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations" rel="nofollow ugc">https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations</a></p>
]]></description><link>https://forum.netxms.org/post/23781</link><guid isPermaLink="true">https://forum.netxms.org/post/23781</guid><dc:creator><![CDATA[zev]]></dc:creator><pubDate>Wed, 31 Jan 2018 13:16:35 GMT</pubDate></item></channel></rss>