Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Releases locks to global objects in Configuration Manager.

Syntax

Unlock-CMObject [-InputObject] <IResultObject[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Unlock-CMObject cmdlet releases locks of one or more objects in Microsoft System Center 2012 Configuration Manager. You can use the InputObject parameter to specify the input to this cmdlet, or you can pipe the input to this cmdlet. Serialized Editing of Distributed Objects (SEDO) in System Center 2012 Configuration Manager provide a mechanism for assigning and unassigning locks to global System Center 2012 Configuration Manager objects in the context of a site, computer and user. If you want to edit and save a SEDO-enabled object, you must lock the object. When you obtain the lock, the lock is assigned to you, your computer and the site in which the computer resides. While the lock is assigned to you, no other user or computer can edit the object until you release the lock.

Parameters

-InputObject [<IResultObject[]>]

Specifies an array of Configuration Manager objects output from another cmdlet.

Required?   true
Position?   1
Default value?  
Accept pipeline input?   True (ByPropertyName)
Accept wildcard characters?   false

-Confirm [<SwitchParameter>]

Prompts you for confirmation before executing the command.

Required?   false
Position?   named
Default value?   false
Accept pipeline input?   false
Accept wildcard characters?   false

-WhatIf [<SwitchParameter>]

Describes what would happen if you executed the command without actually executing the command.

Required?   false
Position?   named
Default value?   false
Accept pipeline input?   false
Accept wildcard characters?   false

Input Type

Return Type

Notes

Examples

Example 1: Unlock a global object

PS> PS C:\>$CIObj = Get-CMDriverPackage