<?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[External Parameter (Powershell)]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">is it possible to use the Exchange 2013 powershell commands?<br />
The normal powershell commands are working, but the module/snapins are not imported into the normal powershell - is it possible?</p>
<p dir="auto">I want to monitor an DAG and i need this commands from the Exchange powershell module:</p>
<p dir="auto">for example:</p>
<p dir="auto">Get-MailboxDatabaseCopyStatus | fl -Property Status</p>
<p dir="auto">Thx,<br />
Didi</p>
]]></description><link>https://forum.netxms.org/topic/3752/external-parameter-powershell</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:45:29 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3752.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 May 2015 13:19:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to External Parameter (Powershell) on Thu, 07 May 2015 06:59:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you can use script for threshold checking.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16772</link><guid isPermaLink="true">https://forum.netxms.org/post/16772</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 07 May 2015 06:59:44 GMT</pubDate></item><item><title><![CDATA[Reply to External Parameter (Powershell) on Wed, 06 May 2015 10:53:28 GMT]]></title><description><![CDATA[<p dir="auto">OK i try this.</p>
<p dir="auto">Is it possible to do a treshold with an OR connection - because i get:</p>
<p dir="auto">Server 1: Status : Mounted<br />
Server 2: Status : Healthy</p>
<p dir="auto">Ive created 2 Tresholds not equal "Status : Mounted" and not equal "Status : Healthy" and clicked "process all tresholds" but it dont seem that this works</p>
<p dir="auto">Thx</p>
]]></description><link>https://forum.netxms.org/post/16756</link><guid isPermaLink="true">https://forum.netxms.org/post/16756</guid><dc:creator><![CDATA[ITR]]></dc:creator><pubDate>Wed, 06 May 2015 10:53:28 GMT</pubDate></item><item><title><![CDATA[Reply to External Parameter (Powershell) on Tue, 05 May 2015 21:55:21 GMT]]></title><description><![CDATA[<p dir="auto">I suggest you to change it from ExternalParameter to ExternalParameterProvider, this way data collection will work faster.<br />
Detailed description: <a href="https://wiki.netxms.org/wiki/ExternalParametersProvider" rel="nofollow ugc">https://wiki.netxms.org/wiki/ExternalParametersProvider</a></p>
]]></description><link>https://forum.netxms.org/post/16752</link><guid isPermaLink="true">https://forum.netxms.org/post/16752</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 05 May 2015 21:55:21 GMT</pubDate></item><item><title><![CDATA[Reply to External Parameter (Powershell) on Tue, 05 May 2015 15:09:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi Alex,</p>
<p dir="auto">thx for the hint its working.</p>
<p dir="auto">For all others:</p>
<p dir="auto">Raise the timeout for Server AgentCommandTimeOut and on Agent ExecTimeout (PSSnapIn needs to load a few seconds) (defaults are: 2000 on agent and 4000 on server)</p>
<p dir="auto"><strong>Server Configuration:</strong></p>
<p dir="auto">AgentCommandTimeOut = 20000</p>
<p dir="auto"><strong>Agent Configuration (for example):</strong></p>
<p dir="auto">ExecTimeout = 20000<br />
ExternalParameter = DAG2013Healthstatus.status:"C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe" "C:\Scripts\Get-MailboxDatabaseCopyStatus.ps1"</p>
<p dir="auto">Content of PS1</p>
<p dir="auto">Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn<br />
Get-MailboxDatabaseCopyStatus | fl -Property Status</p>
<p dir="auto">Thx</p>
]]></description><link>https://forum.netxms.org/post/16748</link><guid isPermaLink="true">https://forum.netxms.org/post/16748</guid><dc:creator><![CDATA[ITR]]></dc:creator><pubDate>Tue, 05 May 2015 15:09:18 GMT</pubDate></item><item><title><![CDATA[Reply to External Parameter (Powershell) on Tue, 05 May 2015 13:55:16 GMT]]></title><description><![CDATA[<p dir="auto">You can try to create ps1 script like this:</p>
<pre><code>add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
Get-MailboxDatabaseCopyStatus | fl -Property Status
</code></pre>
]]></description><link>https://forum.netxms.org/post/16747</link><guid isPermaLink="true">https://forum.netxms.org/post/16747</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 05 May 2015 13:55:16 GMT</pubDate></item></channel></rss>