<?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 - Changing the offline file settings on a CIFS share in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116061#M1796</link>
    <description>&lt;P&gt;Great, that works perfectly, Many Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Feb 2016 21:49:20 GMT</pubDate>
    <dc:creator>markey164</dc:creator>
    <dc:date>2016-02-19T21:49:20Z</dc:date>
    <item>
      <title>Powershell - Changing the offline file settings on a CIFS share</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116047#M1794</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am writing a Powershell script (using the Netapp Powershell Toolkit), that prompts for some&amp;nbsp;input, which it then uses to provision&amp;nbsp;a volume and an associated share whilst applying all of the desired config (eg snapmirror, vfiler DR, snapshots schedules, CIFS share permissions and so on)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This all works nicely apart from one setting. I want to set the offline settings for the share to 'No files or programs are available offline'. I cannot find any way of doing this for a share that resides on a Netapp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know if this is possible, and if so, how to do it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:00:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116047#M1794</guid>
      <dc:creator>markey164</dc:creator>
      <dc:date>2025-06-04T22:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell - Changing the offline file settings on a CIFS share</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116051#M1795</link>
      <description>&lt;P&gt;Assuming you're using clustered Data ONTAP, use the "Set-NcCifsShare" cmdlet with the "-OfflineFilesMode none" option. &amp;nbsp;For 7-mode, use "Set-NaCifsShare" with the option "-Caching no_caching" (which is the default).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 18:12:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116051#M1795</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-02-19T18:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell - Changing the offline file settings on a CIFS share</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116061#M1796</link>
      <description>&lt;P&gt;Great, that works perfectly, Many Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 21:49:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Powershell-Changing-the-offline-file-settings-on-a-CIFS-share/m-p/116061#M1796</guid>
      <dc:creator>markey164</dc:creator>
      <dc:date>2016-02-19T21:49:20Z</dc:date>
    </item>
  </channel>
</rss>

