Update-MSLockDeploymentUnits

Lock a list of DeploymentUnits. Use the -UnLock switch to UnLock instead

Syntax


Update-MSLockDeploymentUnits -DeployUnitIds (Int32[]) [-UnLock]

Examples


## Lock a list of DeploymentUnits 
Update-MSLockDeploymentUnits -DeployUnitIds @(1000,1001,1002)

## UnLock a list of DeploymentUnits 
Update-MSLockDeploymentUnits -DeployUnitIds @(1000,1001,1002) -UnLock