<?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: PowerShell Toolkit ;error with New-NcSym in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151524#M6053</link>
    <description>&lt;P&gt;&lt;SPAN&gt;My wording may have confused you. But, what I'm&amp;nbsp; trying to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;say is, I created a file 'test' and sym linked to&amp;nbsp; 'test_copy' which is actually a symlink created by the first command. Target&amp;nbsp; is simply does not have to exist.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;Its mentioned in the article :&amp;nbsp;&lt;SPAN&gt;The '-&lt;/SPAN&gt;&lt;SPAN&gt;target&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is a path or location that does not have to exist. The target path is not checked for validity.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&lt;SPAN&gt;'Test' will create a symlink that points to a non-existent path of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/somewhere&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and the symbolic link itself will be created in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier, courier new, monospace"&gt;shared folder, in my case qtree_cifs.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;I have tried it 3 times, and it worked for me.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sat, 05 Oct 2019 22:56:25 GMT</pubDate>
    <dc:creator>Ontapforrum</dc:creator>
    <dc:date>2019-10-05T22:56:25Z</dc:date>
    <item>
      <title>PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151490#M6048</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer is reporting an issue with PowerShell Toolkit when trying to create a new symlink.&lt;/P&gt;
&lt;P&gt;Actually, he is stuck on a big project so any fast help would be very appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Target File «&amp;nbsp;test.txt&amp;nbsp;»&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The target file is seen by powershell&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 671px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9306iDD5D8C031261AC39/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 802px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9307iAF746125C885D0EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;Exécution on the command New-NcSymLink with issue&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 915px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9309iDB74FB54A5391C02/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You have executed this command without «&amp;nbsp;/vol&amp;nbsp;» on traget or symlink but without success.&lt;/LI&gt;
&lt;LI&gt;The symlink file «&amp;nbsp;test2.txt&amp;nbsp;» is created but symlink is not functional.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 661px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9308i03803EF140BA5646/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 744px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9310iCEB2FB88CD2EB3CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;contact info removed by moderator&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:12:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151490#M6048</guid>
      <dc:creator>Quang-Chinh</dc:creator>
      <dc:date>2025-06-04T12:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151492#M6049</link>
      <description>&lt;P&gt;&lt;U&gt;Please look at the example given in this blog&lt;/U&gt;: [Very well written]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the order and syntax needs correction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Go to this section:&lt;/STRONG&gt;&lt;BR /&gt;How we create some Symlinks with PowerShell&lt;BR /&gt;&lt;A href="https://community.netapp.com/t5/Network-Storage-Protocols-Articles-and-Resources/How-Symlinks-boost-productivity/ta-p/126258" target="_blank"&gt;https://community.netapp.com/t5/Network-Storage-Protocols-Articles-and-Resources/How-Symlinks-boost-productivity/ta-p/126258&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Hope this helps, if not then one of our powershell expert will come back to you.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 12:32:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151492#M6049</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2019-10-04T12:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151512#M6050</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We saw this article.&lt;BR /&gt;But that does not correspond to the need. We try to create a symlink to a file by mounting a CIFS folder.&lt;BR /&gt;The New-NcSymlink command only needs two parameters: Symlink and Path.&lt;BR /&gt;when we return this command we have an error "No such file or Directory". This creates a file but does not point to anything.&lt;BR /&gt;Is it a problem configuring the netAPP cluster or the Powershell version 9.6 toolkit?&lt;BR /&gt;&lt;BR /&gt;Can you give an example of a command to test?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:36:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151512#M6050</guid>
      <dc:creator>NeedHelp</dc:creator>
      <dc:date>2019-10-04T18:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151522#M6051</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I followed this KB article, and it worked perfectly in my lab. Screenshot attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to create a symbolic link in clustered Data ONTAP without the need for NFS:&lt;BR /&gt;&lt;A href="https://kb.netapp.com/app/answers/answer_view/a_id/1029854" target="_blank"&gt;https://kb.netapp.com/app/answers/answer_view/a_id/1029854&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Lab:&lt;/STRONG&gt;&lt;BR /&gt;simulator:ONTAP 9.6&lt;/P&gt;
&lt;P&gt;PSversion:4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Original &amp;amp; symlink file need not exist prior, first will be created during command-line execution, and test_copy will be created automatically.&lt;BR /&gt;symlink: test_copy&lt;BR /&gt;original: test&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2019 20:20:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151522#M6051</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2019-10-05T20:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151523#M6052</link>
      <description>&lt;DIV class="oSioSc"&gt;
&lt;DIV id="tw-target"&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;Thank you for your time.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;I do not understand. If Original and symlink file does not exist how can you create a symlink to an existing file? &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;I also tested :&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - My vServer : BISPNASN4003&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - My ShareName: VDISK1&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;I try to create a symlink file "Symlink.txt" that &amp;nbsp;point to "Target.txt"&amp;nbsp; :&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;&amp;nbsp; - First command&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Add-NcCifsSymlink –unixpath /Target.txt/ -cifspath /Symlink.txt/ -locality local –sharename VDISK1&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;&amp;nbsp; - Second command&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; New-NcSymlink –target /Target.txt –linkname /vol/BISPNASN4003_01/VDISK1/Symlink.txt&lt;BR /&gt;II do not see a file "Target.txt"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="Vyy3r"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="g9WsWb" id="kAz1tf"&gt;
&lt;DIV class="tw-ta-container tw-nfl" id="tw-target-text-container"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Oct 2019 21:50:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151523#M6052</guid>
      <dc:creator>NeedHelp</dc:creator>
      <dc:date>2019-10-05T21:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151524#M6053</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My wording may have confused you. But, what I'm&amp;nbsp; trying to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;say is, I created a file 'test' and sym linked to&amp;nbsp; 'test_copy' which is actually a symlink created by the first command. Target&amp;nbsp; is simply does not have to exist.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;Its mentioned in the article :&amp;nbsp;&lt;SPAN&gt;The '-&lt;/SPAN&gt;&lt;SPAN&gt;target&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is a path or location that does not have to exist. The target path is not checked for validity.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&lt;SPAN&gt;'Test' will create a symlink that points to a non-existent path of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;/somewhere&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and the symbolic link itself will be created in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT face="courier, courier new, monospace"&gt;shared folder, in my case qtree_cifs.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;
&lt;DIV dir="auto"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV dir="auto"&gt;I have tried it 3 times, and it worked for me.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 05 Oct 2019 22:56:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151524#M6053</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2019-10-05T22:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151525#M6054</link>
      <description>&lt;P&gt;&lt;SPAN&gt;OK, thanks. I understood. The first command creates a symlink object that points to the target. The second command creates the file that points to the created symlink.&lt;BR /&gt;&lt;BR /&gt;Super. &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thank for your time and your Help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 08:39:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151525#M6054</guid>
      <dc:creator>NeedHelp</dc:creator>
      <dc:date>2019-10-06T08:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit ;error with New-NcSym</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151528#M6056</link>
      <description>&lt;P&gt;Yes,&amp;nbsp; you worded perfectly. Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Oct 2019 10:12:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-error-with-New-NcSym/m-p/151528#M6056</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2019-10-06T10:12:08Z</dc:date>
    </item>
  </channel>
</rss>

