Download full document:



Set-Applibappdisk

Changes the parameter values for an AppDisk.

Syntax

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>]

Detailed Description

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.

Parameters

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.

Input Type

Return Values

Citrix.Applibrary.Sdk.Appdisk
This Object Provides Details Of The Appdisk And Contains The Following Information:
Appdiskuid <Guid>
The Unique Identifier For The Appdisk.
Appdiskname <String>
The Name Of The Appdisk.
Description <String>
A Description Of The Appdisk.
Hostingunituid <Guid>
The Unique Identifier Of The Hosting Unit (From The Hosting Unit Powershell Snap-In) That The Scheme Uses.
Hostingunitname <String>
The Name Of The Hosting Unit (From The Hosting Unit Powershell Snap-In) That The Scheme Uses.
Virtualdiskid <Datetime>
The Mcs Disk Identifier For The Appdisk.
Taskid <Guid>
The Identifier Of Any Current Task That Is Running For The Appdisk.
Disklocaluid <Guid>
The Appdna Identifier For The Disk.
Disklocalversion <Guid>
The Appdna Version Specifier For The Disk.
Scopes <Scopereference[]>
The Delegated Administration Scopes In Which The Appdisk Falls
Task <Task<
The State Of Any Current Task That Is Running For The Appdisk.
State <Appdiskstate>
The Overall Lifecycle State Of The Appdisk
Statestring <String>
The Overall Lifecycle State Of The Appdisk As A String
Appdnastate <Appdnastate>
The Appdna Lifecycle State Of The Appdisk
Appdnastatestring <String>
The Appdna Lifecycle State Of The Appdisk As A String
Newversioncreationinprogress <Bool>
A Value Indicating Whether A New Version Of This Appdisk Is Currently Being Created

Notes

In the case of failure, the following errors can result.
Error Codes
-----------
AppDiskNotFound
The specified AppDisk could not be located.
DatabaseError
An error occurred in the service while attempting a database operation.
DatabaseNotConfigured
The operation could not be completed because the database for the service is not configured.
ServiceStatusInvalidDb
An error occurred in the service while attempting a database operation - communication with the database failed
for various reasons.
CommunicationError
An error occurred while communicating with the service.
PermissionDenied
The user does not have administrative rights to perform this operation.
ConfigurationLoggingError
The operation could not be performed because of a configuration logging error
ExceptionThrown
An unexpected error occurred. To locate more details, see the Windows event logs on the controller being used or examine the XenDesktop logs.

Examples

Example 1

C:\PS> Set-AppLibAppDisk -AppDiskName MyDisk -Description "Experimental"

Description

Updates as AppDisk called "MyDisk" to have the description "Experimental".