Unlocks an AppDisk.
Unlock-AppLibAppDisk [-AppDiskName] <String> [-LoggingId <Guid>] [-BearerToken <String>] [-AdminAddress <String>] [<CommonParameters>] Unlock-AppLibAppDisk -AppDiskUid <Guid> [-LoggingId <Guid>] [-BearerToken <String>] [-AdminAddress <String>] [<CommonParameters>]
Provides the ability to unlockan AppDisk that has the Id of a failed Task still associated with it. This allows another long-running task to operate on that scheme. The cmdlet will not unlock a scheme with a task still marked as being active. Use Stop-AppLibTask to stop any active task first.
|Name||Description||Required?||Pipeline Input||Default Value|
|AppDiskName||The name of the AppDisk.||true||true (ByPropertyName)|
|AppDiskUid||The unique identifier of the AppDisk.||true||false|
|LoggingId||Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.||false||false|
|BearerToken||Specifies the bearer token assigned to the calling user||false||false|
|AdminAddress||Specifies the address of a XenDesktop controller that the PowerShell snap-in connects to. You can provide this as a host name or an IP address.||false||false||LocalHost. Once a value is provided by any cmdlet, this value becomes the default.|
In the case of failure, the following errors can result.
The specified provisioning scheme could not be located.
The specified provisioning scheme had no task object associated.
The task object associated with the provisioning scheme is still active.
An error occurred in the service while attempting a database operation.
The query required to get the database was not defined.
An error occurred while communicating with the service.
A filtering expression was supplied that could not be interpreted for this cmdlet.
The user does not have administrative rights to perform this operation.
The operation could not be performed because of a configuration logging error
An unexpected error occurred. To locate more details, see the Windows event logs on the controller being used or examine the XenDesktop logs.
C:\PS>Unlock-AppLibAppDisk -AppDiskName MyDisk
Unlocks the AppDisk 'MyDisk'.