Restore-CafLocks
Restores all the given locks to the specified resource group.
Syntax
Restore-CafLocks
-Locks <object[]>
Description
After you used Remove-CafLocks you can use it's result (the collection of removed locks) to pass into this function. This then will try to apply those locks again.
Note
Only resource group locks are currently supported.
Example
Restore-CafLocks -Locks locksObject[]
Parameter
-Locks
The array of locks to restore.
| Property | Value |
|---|---|
| Type: | object[] |
| Default value: | None |
| Required: | True |
See also
Remove-CafLocks— removes locks and returns the array to pass into this command