Microsoft Virtualization Discussions

Powershell commands for file locks

cfrank
220 Views

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

Ontapforrum
207 Views

mbeattie
174 Views

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.
Public