<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk for Microsoft Exchange App get-databasestats.ps1 Error in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69750#M70638</link>
    <description>&lt;P&gt;Thanks, adding the [long] in front of the variables fixed this issue.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2011 12:57:35 GMT</pubDate>
    <dc:creator>imarks004</dc:creator>
    <dc:date>2011-09-28T12:57:35Z</dc:date>
    <item>
      <title>Splunk for Microsoft Exchange App get-databasestats.ps1 Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69746#M70634</link>
      <description>&lt;P&gt;Has anyone seen the below error with the fwd_exchange2007_store \bin\get-databasestats.ps1 powershell script?  I see this on all for mailbox servers(2active/2passive). I am troubleshooting why some events are not populating back into my indexers and this looked like a good place to start.  It seems like most of my Exchange data is populating correctly with just a few exceptions that I am trying to clean up.  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
09-02-2011 14:20:00.480 -0400 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\fwd_exchange2007_store\bin\exchangepowershell.cmd" get-databasestats.ps1" The operation '[System.UInt64] / [System.UInt64]' is not defined.&lt;BR /&gt;
09-02-2011 14:20:00.480 -0400 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\fwd_exchange2007_store\bin\exchangepowershell.cmd" get-databasestats.ps1" At C:\Program Files\SplunkUniversalForwarder\etc\apps\fwd_exchange2007_store\bi&lt;BR /&gt;
09-02-2011 14:20:00.480 -0400 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\fwd_exchange2007_store\bin\exchangepowershell.cmd" get-databasestats.ps1" n\powershell\get-databasestats.ps1:32 char:45&lt;BR /&gt;
09-02-2011 14:20:00.480 -0400 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\fwd_exchange2007_store\bin\exchangepowershell.cmd" get-databasestats.ps1" +         $EdbDriveFree = ($EdbDriveInfo.FreeSpace /  &amp;lt;&amp;lt;&amp;lt;&amp;lt; $EdbDriveInfo.Size) &lt;BR /&gt;
09-02-2011 14:20:00.480 -0400 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\etc\apps\fwd_exchange2007_store\bin\exchangepowershell.cmd" get-databasestats.ps1" * 100.00&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69746#M70634</guid>
      <dc:creator>imarks004</dc:creator>
      <dc:date>2020-09-28T09:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Microsoft Exchange App get-databasestats.ps1 Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69747#M70635</link>
      <description>&lt;P&gt;The key part here is that the [System.UInt64] / [ System.UInt64] is not defined.  This is a core feature of Powershell, so it's likely that there is a problem with your Powershell implementation.  To diagnose further, you can run this outside of the Splunk system to see what the error is.  To do this, run the get-databasestats.ps1 at a powershell command prompt.  It should run to completion without errors.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69747#M70635</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2011-09-23T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Microsoft Exchange App get-databasestats.ps1 Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69748#M70636</link>
      <description>&lt;P&gt;There is a bug with Powershell v1 apparently.  If you edit the databasestats and cast one or both of the variables to a long it will work.&lt;BR /&gt;
To cast it to a long just put [long] in front of the variable.&lt;/P&gt;

&lt;P&gt;I can't find the reference I used to fix this yesterday now so I can't give proper credit unfortunately.&lt;BR /&gt;
Correction: finally found the reference! &lt;BR /&gt;
&lt;A href="http://www.techtalkz.com/microsoft-windows-powershell/466362-completely-easy-question-division.html"&gt;http://www.techtalkz.com/microsoft-windows-powershell/466362-completely-easy-question-division.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2011 15:06:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69748#M70636</guid>
      <dc:creator>donwant</dc:creator>
      <dc:date>2011-09-27T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Microsoft Exchange App get-databasestats.ps1 Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69749#M70637</link>
      <description>&lt;P&gt;Can you possibly contact me at &lt;A href="mailto:msexchange@splunk.com"&gt;msexchange@splunk.com&lt;/A&gt; so I can incorporate this into the next release?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2011 15:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69749#M70637</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2011-09-27T15:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk for Microsoft Exchange App get-databasestats.ps1 Error</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69750#M70638</link>
      <description>&lt;P&gt;Thanks, adding the [long] in front of the variables fixed this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2011 12:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-for-Microsoft-Exchange-App-get-databasestats-ps1-Error/m-p/69750#M70638</guid>
      <dc:creator>imarks004</dc:creator>
      <dc:date>2011-09-28T12:57:35Z</dc:date>
    </item>
  </channel>
</rss>

