Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Are there any commands to help with being able to see and release file locks? Something similar to these ZAPI's
Lock-get-iter
Lock-break-iter
I don't see anything.
TIA,
Frank
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found one thread, don't know if its useful.
https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Unlocking-files-via-Powershell/m-p/47124
Also check here:
https://www.powershellgallery.com/packages/DataONTAP/9.8.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Frank,
I think these are the cmdlet's you are looking for:
PS C:\> get-command -module netapp.ontap -Name *nclock* | Select-Object -Property Name
Name
----
Get-NcLock
Remove-NcLock
/Matt
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
