<?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 Powershell commands for file locks in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437428#M6538</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any commands to help with being able to see and release file locks? Something similar to these ZAPI's&lt;/P&gt;&lt;P&gt;Lock-get-iter&lt;/P&gt;&lt;P&gt;Lock-break-iter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA,&lt;BR /&gt;Frank&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:57:54 GMT</pubDate>
    <dc:creator>cfrank</dc:creator>
    <dc:date>2025-06-04T09:57:54Z</dc:date>
    <item>
      <title>Powershell commands for file locks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437428#M6538</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any commands to help with being able to see and release file locks? Something similar to these ZAPI's&lt;/P&gt;&lt;P&gt;Lock-get-iter&lt;/P&gt;&lt;P&gt;Lock-break-iter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA,&lt;BR /&gt;Frank&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:57:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437428#M6538</guid>
      <dc:creator>cfrank</dc:creator>
      <dc:date>2025-06-04T09:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell commands for file locks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437430#M6539</link>
      <description>&lt;P&gt;I found one thread, don't know if its useful.&lt;BR /&gt;&lt;A href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unlocking-files-via-Powershell/m-p/47124" target="_blank"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unlocking-files-via-Powershell/m-p/47124&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also check here:&lt;BR /&gt;&lt;A href="https://www.powershellgallery.com/packages/DataONTAP/9.8.0" target="_blank"&gt;https://www.powershellgallery.com/packages/DataONTAP/9.8.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 15:15:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437430#M6539</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2022-08-16T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell commands for file locks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437439#M6540</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think these are the cmdlet's you are looking for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\&amp;gt; get-command -module netapp.ontap -Name *nclock* | Select-Object -Property Name&lt;/P&gt;&lt;P&gt;Name&lt;BR /&gt;----&lt;BR /&gt;Get-NcLock&lt;BR /&gt;Remove-NcLock&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 04:19:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-commands-for-file-locks/m-p/437439#M6540</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2022-08-17T04:19:40Z</dc:date>
    </item>
  </channel>
</rss>

