<?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: Installing the splunk-reskit-powershell in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91250#M18959</link>
    <description>&lt;P&gt;splunk-reskit-powershell required splunk license file?&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2016 19:20:33 GMT</pubDate>
    <dc:creator>ginger8990</dc:creator>
    <dc:date>2016-05-16T19:20:33Z</dc:date>
    <item>
      <title>Installing the splunk-reskit-powershell</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91248#M18957</link>
      <description>&lt;P&gt;I'm having issue getting started with the Splunk-reskit-Powershell module. &lt;/P&gt;

&lt;P&gt;The Getting Started with the Splunk PowerShell Resource Kit document shows you how to get started without actually telling you where the place the files found in the SDK repository @&lt;BR /&gt;
&lt;A href="https://github.com/splunk/splunk-reskit-powershell" target="_blank"&gt;https://github.com/splunk/splunk-reskit-powershell&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So looking at other powershell documentation I manually recreated the folder structure at splunk-reskit-powershell / Source / Splunk on the site and copied it to C:\Windows\System32\WindowsPowerShell\v1.0\Modules&lt;/P&gt;

&lt;P&gt;So now if I run &lt;/P&gt;

&lt;P&gt;PS C:&amp;gt; Get-Module -ListAvailable -Name Splunk&lt;/P&gt;

&lt;P&gt;ModuleType Name                      ExportedCommands&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Manifest   Splunk                    {}&lt;/P&gt;

&lt;P&gt;I can see Splunk is listed.. but the ExportedCommands is not the same as the documentation output:&lt;/P&gt;

&lt;P&gt;PS &amp;gt; Get-Module –ListAvailable –Name Splunk&lt;/P&gt;

&lt;P&gt;ModuleType Name                      ExportedCommands&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Script     Splunk                    {Set-SplunkLicensePool, ...&lt;BR /&gt;
&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
My Folder structure is as follows:&lt;BR /&gt;
PS C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Splunk&amp;gt; ls&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;Directory: C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Splunk&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;Mode                LastWriteTime     Length Name&lt;BR /&gt;&lt;BR /&gt;
----                -------------     ------ ----&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            en-US&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            FormatFiles&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-Authentication&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-Core&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-Deployment&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-General&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-Helper&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            splunk-license&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-Search&lt;BR /&gt;&lt;BR /&gt;
d----         3/13/2012  11:18 AM            Splunk-SplunkD&lt;BR /&gt;&lt;BR /&gt;
-a---         3/13/2012   1:52 PM      33687 Splunk.psd1&lt;BR /&gt;&lt;BR /&gt;
-a---         3/13/2012  11:11 AM      60625 Splunk.psm1&lt;BR /&gt;&lt;BR /&gt;
-a---         3/13/2012  11:12 AM      36413 SplunkConnectionObject.xml&lt;BR /&gt;&lt;BR /&gt;
-a---         3/13/2012  11:12 AM      37123 Splunk_SDK_Demo.ps1&lt;BR /&gt;&lt;BR /&gt;
&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;And If I perform an import I get the following:&lt;/P&gt;

&lt;P&gt;PS C:\users\axm3196\desktop&amp;gt; Import-Module -Name Splunk&lt;BR /&gt;
&lt;CODE&gt;Import-Module : The module manifest 'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Splunk\Splu&lt;BR /&gt;
nk.psd1' could not be processed because it is not a valid PowerShell restricted language file. Plea&lt;BR /&gt;
se remove the elements that are not permitted by the restricted language: The '&amp;lt;' operator is reser&lt;BR /&gt;
ved for future use.&lt;BR /&gt;
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Splunk\Splunk.psd1:83 char:47&lt;BR /&gt;
+ &amp;lt;a href="/splunk" itemprop="url"&amp;gt;            &amp;lt; &amp;lt;&amp;lt;&amp;lt;&amp;lt; span itemprop="title"&amp;gt;splunk&amp;lt;/span&amp;gt;&lt;BR /&gt;
At line:1 char:14&lt;BR /&gt;
+ Import-Module &amp;lt;&amp;lt;&amp;lt;&amp;lt;  -Name Splunk&lt;BR /&gt;
    + CategoryInfo          : ResourceUnavailable: (C:\WINDOWS\syst...unk\Splunk.psd1:String) [Imp&lt;BR /&gt;
   ort-Module], MissingMemberException&lt;BR /&gt;
    + FullyQualifiedErrorId : Modules_InvalidManifest,Microsoft.PowerShell.Commands.ImportModuleCo&lt;BR /&gt;
   mmand&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;What page did I miss in the instructions because the documentation I'm finding assumes I already know how to install these files and that does not appear to be the case.&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;BR /&gt;
Adrian&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:30:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91248#M18957</guid>
      <dc:creator>admoseley</dc:creator>
      <dc:date>2020-09-28T11:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Installing the splunk-reskit-powershell</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91249#M18958</link>
      <description>&lt;P&gt;I found my issue. It appears the content of my files had some illegal characters from copying off the site. #UserError&lt;/P&gt;

&lt;P&gt;I found the zip/tar of the files on the site &lt;A href="https://github.com/splunk/splunk-reskit-powershell/downloads"&gt;https://github.com/splunk/splunk-reskit-powershell/downloads&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;I aslo found the import modules documentation on Microsoft technet. All is well! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://technet.microsoft.com/en-us/library/ee308287(v=WS.10).aspx#BKMK_ImportingAllModules"&gt;http://technet.microsoft.com/en-us/library/ee308287(v=WS.10).aspx#BKMK_ImportingAllModules&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2012 14:00:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91249#M18958</guid>
      <dc:creator>admoseley</dc:creator>
      <dc:date>2012-03-14T14:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Installing the splunk-reskit-powershell</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91250#M18959</link>
      <description>&lt;P&gt;splunk-reskit-powershell required splunk license file?&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 19:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91250#M18959</guid>
      <dc:creator>ginger8990</dc:creator>
      <dc:date>2016-05-16T19:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Installing the splunk-reskit-powershell</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91251#M18960</link>
      <description>&lt;P&gt;@ginger8990 no, there is no license requirement for the resourcekit.  In future, please open a separate question instead of tagging onto someone else question/answer.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 19:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Installing-the-splunk-reskit-powershell/m-p/91251#M18960</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-05-16T19:40:08Z</dc:date>
    </item>
  </channel>
</rss>

