Changes the parameter values for an AppDisk.
Set-AppLibAppDisk [-AppDiskName] <String> [-Description <String>] [-PassThru] [-LoggingId <Guid>] [-BearerToken <String>] [-AdminAddress <String>] [<CommonParameters>] Set-AppLibAppDisk -AppDiskUid <Guid> [-Description <String>] [-PassThru] [-LoggingId <Guid>] [-BearerToken <String>] [-AdminAddress <String>] [<CommonParameters>]
Provides the ability to update the parameters of an existing AppDisk.
This allows the following parameters to be updated:
Description of the AppDisk.
To change the name of the AppDisk see Rename-AppLibAppDisk.
|Name||Description||Required?||Pipeline Input||Default Value|
|AppDiskName||The name of the AppDisk to be updated.||true||false|
|AppDiskUid||The identifier of the AppDisk to be updated.||true||false|
|Description||The description to apply; may be empty.||false||false|
|PassThru||Returns the affected record. By default, this cmdlet does not generate any output.||false||false||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 the PowerShell snap-in will connect 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.|
This object provides details of the AppDisk and contains the following information:
The unique identifier for the AppDisk.
The name of the AppDisk.
A description of the AppDisk.
The unique identifier of the hosting unit (from the Hosting Unit PowerShell snap-in) that the scheme uses.
The name of the hosting unit (from the Hosting Unit PowerShell snap-in) that the scheme uses.
The MCS disk identifier for the AppDisk.
The identifier of any current task that is running for the AppDisk.
The AppDNA identifier for the disk.
The AppDNA version specifier for the disk.
The Delegated Administration scopes in which the AppDisk falls
The state of any current task that is running for the AppDisk.
The overall lifecycle state of the AppDisk
The overall lifecycle state of the AppDisk as a string
The AppDNA lifecycle state of the AppDisk
The AppDNA lifecycle state of the AppDisk as a string
A value indicating whether a new version of this AppDisk is currently being created
In the case of failure, the following errors can result.
The specified AppDisk could not be located.
An error occurred in the service while attempting a database operation.
The operation could not be completed because the database for the service is not configured.
An error occurred in the service while attempting a database operation - communication with the database failed
for various reasons.
An error occurred while communicating with the service.
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> Set-AppLibAppDisk -AppDiskName MyDisk -Description "Experimental"
Updates as AppDisk called "MyDisk" to have the description "Experimental".