<?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: ad-repl-stat.ps1 error ? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76701#M4841</link>
    <description>&lt;P&gt;The syntax of Powershell v1.0 is different, so you will have to re-write the script.   In practice, the level of detail for replication is not available from Windows Server 2000, so you may just want to forego the information and disable the input.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Oct 2012 21:35:15 GMT</pubDate>
    <dc:creator>ahall_splunk</dc:creator>
    <dc:date>2012-10-01T21:35:15Z</dc:date>
    <item>
      <title>ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76693#M4833</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;When i run ad-repl-stat.ps1, i got an error like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Missing closing ')' in expression.
At C:\script\ad-repl-stat.ps1:18 char:3
+         [ &amp;lt;&amp;lt;&amp;lt;&amp;lt; ValidateNotNullOrEmpty()]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can you show me why it likes that ?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 19:55:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76693#M4833</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-10-01T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76694#M4834</link>
      <description>&lt;P&gt;Please provide more information.  we need, at a minimum:&lt;/P&gt;

&lt;P&gt;1) What OS is the Splunk Universal Forwarder running on?&lt;BR /&gt;
2) What version of Splunk is installed?&lt;BR /&gt;
3) How are you running the script?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 19:57:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76694#M4834</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2012-10-01T19:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76695#M4835</link>
      <description>&lt;P&gt;My machine is :&lt;BR /&gt;
.net Framwork 2.0&lt;BR /&gt;
Powershell v1.0&lt;BR /&gt;
Windows 2003 x86&lt;BR /&gt;
I run it directly on command line by:&lt;BR /&gt;
./ad-repl-stat.ps1  (error)&lt;BR /&gt;
The 2 remaining don't have any problem.&lt;BR /&gt;
i test it on another machine with powershell v1.0 , it got error too. Can you suggest  what i should do ?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 20:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76695#M4835</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-10-01T20:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76696#M4836</link>
      <description>&lt;P&gt;Yes - from the documentation at &lt;A href="http://docs.splunk.com/Documentation/ActiveDirectory/latest/DeployAD/Platformandhardwarerequirements"&gt;http://docs.splunk.com/Documentation/ActiveDirectory/latest/DeployAD/Platformandhardwarerequirements&lt;/A&gt;, the TA supports:&lt;/P&gt;

&lt;P&gt;Windows Server 2003 (with SP2 or later) or Server 2003 R2 (with SP1 or later) with PowerShell 2.0 or later&lt;/P&gt;

&lt;P&gt;Basically, Powershell v1.0 is not supported.  You should install Powershell v2.0.  What you are running into is a Powershell syntax bug because of an old version of Powershell.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:01:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76696#M4836</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2012-10-01T21:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76697#M4837</link>
      <description>&lt;P&gt;I can do what you say.In fact, i want to use powershell v1.0 because, i installed it on my system which are based on windows 2000. &lt;BR /&gt;
For the dnsserver scripts, they are running well. &lt;BR /&gt;
However in domain controller,there are only 2 problems. The first issue that i get stuck in running is ad-repl-stat.ps1.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:21:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76697#M4837</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-10-01T21:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76698#M4838</link>
      <description>&lt;P&gt;Second,WMI_NTdomain isn't existed on windows 2000. But in your script, you just only use:&lt;BR /&gt;
$DomainNetBIOSName = $WMI_DOMAIN.DomainName&lt;BR /&gt;
$SiteName = $WMI_DOMAIN.ClientSiteName&lt;BR /&gt;
$WMI_DOMAIN.Status&lt;BR /&gt;
$DomainNetBIOSName can be obtained by using vbscript. but site name and ojbect status , i don't know how to get them without using WMI_NTdomain  class.&lt;BR /&gt;
That's all my problems, Do you have any suggestion to me for solving those problems ?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:32:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76698#M4838</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2020-09-28T12:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76699#M4839</link>
      <description>&lt;P&gt;The Splunk App for Active Directory does not support Windows Server 2000.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:23:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76699#M4839</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2012-10-01T21:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76700#M4840</link>
      <description>&lt;P&gt;yes i know, i just want to know how to run on powershell v1.0, not powershell v2.0  to execute ad-repl-stat.ps1.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76700#M4840</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-10-01T21:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76701#M4841</link>
      <description>&lt;P&gt;The syntax of Powershell v1.0 is different, so you will have to re-write the script.   In practice, the level of detail for replication is not available from Windows Server 2000, so you may just want to forego the information and disable the input.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:35:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76701#M4841</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2012-10-01T21:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76702#M4842</link>
      <description>&lt;P&gt;$SiteName = $WMI_DOMAIN.ClientSiteName&lt;BR /&gt;
$WMI_DOMAIN.Status&lt;BR /&gt;
and for 2 properties, do you know how to get them in another way ? (vbscript, command line..)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76702#M4842</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2020-09-28T12:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76703#M4843</link>
      <description>&lt;P&gt;(Since I have been replying all along, I'll complete this one)&lt;/P&gt;

&lt;P&gt;I have not looked at Windows Server 2000.  The methodologies we use are to look at what is required (the site, for instance) and then look at documentation to determine how we can get it in a particular OS.  However, in the case of Windows Server 2000, the information was not necessarily easily obtainable.  I don't know how to access that data on that OS.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 21:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76703#M4843</guid>
      <dc:creator>ahall_splunk</dc:creator>
      <dc:date>2012-10-01T21:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: ad-repl-stat.ps1 error ?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76704#M4844</link>
      <description>&lt;P&gt;thanks for your information&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2012 22:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ad-repl-stat-ps1-error/m-p/76704#M4844</guid>
      <dc:creator>sieutruc</dc:creator>
      <dc:date>2012-10-01T22:04:50Z</dc:date>
    </item>
  </channel>
</rss>

