<?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: How to add $ at the end of the user provided information. in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116441#M4773</link>
    <description>&lt;P&gt;Escaping the $ with "`" should do the trick ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$qtreename = Read-Host -Prompt 'Input your QTREE  name'
$qtreename = $qtreename + "_q" #Append _q to the qtree name that was input

New-NcQtree -Volume $volumename -Qtree $qtreename -SecurityStyle ntfs -Vserver $vservername

$share = "`$$qtreename" #` is the escape character in PowerShell
Add-NcCifsShare -Name $share -Path $pathname1 -SymlinkProperties hide -OfflineFilesMode Manual -VscanProfile strict -Vserver $vservername&lt;/PRE&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Aparajita&lt;/P&gt;</description>
    <pubDate>Mon, 29 Feb 2016 12:41:02 GMT</pubDate>
    <dc:creator>Aparajita</dc:creator>
    <dc:date>2016-02-29T12:41:02Z</dc:date>
    <item>
      <title>How to add $ at the end of the user provided information.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116439#M4772</link>
      <description>&lt;P&gt;How to add $ at the end of the user provided information.&lt;BR /&gt;My Qtree should be add with _q at the end once user provided qtree as test then it should be tree_q&lt;BR /&gt;My sharename should be add with $ at the end once user provided qtree as test then it should be tree$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$qtreename = Read-Host -Prompt 'Input your QTREE&amp;nbsp; name'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New-NcQtree -Volume $volumename -Qtree &lt;STRONG&gt;$qtreename&lt;/STRONG&gt; -SecurityStyle ntfs -Vserver $vservername&amp;nbsp; &lt;STRONG&gt;# here Qtree name need to be append as '_q' at the end of qtree name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add-NcCifsShare -Name&lt;STRONG&gt; $share&lt;/STRONG&gt; -Path $pathname1 -SymlinkProperties hide -OfflineFilesMode Manual -VscanProfile strict -Vserver $vservername &lt;STRONG&gt;#&amp;nbsp; Here sharename should follows with Qtreename$ as powershell takes $ as input of the variable im facing few challenges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone please help&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:55:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116439#M4772</guid>
      <dc:creator>koushi</dc:creator>
      <dc:date>2025-06-04T21:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to add $ at the end of the user provided information.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116441#M4773</link>
      <description>&lt;P&gt;Escaping the $ with "`" should do the trick ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$qtreename = Read-Host -Prompt 'Input your QTREE  name'
$qtreename = $qtreename + "_q" #Append _q to the qtree name that was input

New-NcQtree -Volume $volumename -Qtree $qtreename -SecurityStyle ntfs -Vserver $vservername

$share = "`$$qtreename" #` is the escape character in PowerShell
Add-NcCifsShare -Name $share -Path $pathname1 -SymlinkProperties hide -OfflineFilesMode Manual -VscanProfile strict -Vserver $vservername&lt;/PRE&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Aparajita&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 12:41:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116441#M4773</guid>
      <dc:creator>Aparajita</dc:creator>
      <dc:date>2016-02-29T12:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to add $ at the end of the user provided information.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116444#M4774</link>
      <description>&lt;P&gt;^^&lt;/P&gt;&lt;P&gt;Unless i'm reading this wrong, I don't think that's what he's asking for..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You want to know how to add $ to the end of a share before you create it so it's hidden, right?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:22:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116444#M4774</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2016-02-29T13:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to add $ at the end of the user provided information.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116447#M4775</link>
      <description>&lt;P&gt;Hey JGPSHNTAP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The one which im looking for is been answered by Aparajita&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As powershell never allow $ at the end we can user '$ at the end will works..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the same and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to both of you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:47:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-add-at-the-end-of-the-user-provided-information/m-p/116447#M4775</guid>
      <dc:creator>koushi</dc:creator>
      <dc:date>2016-02-29T13:47:46Z</dc:date>
    </item>
  </channel>
</rss>

