This message was deleted.
# citrix-vad
s
This message was deleted.
j
Try $null perhaps
c
PS C:\Program Files\Citrix\Desktop Studio> Get-BrokerApplication -ClientFolder test\test1 | Set-BrokerApplication -ClientFolder $null Set-BrokerApplication : Cannot validate argument on parameter 'ClientFolder'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again. At line:1 char:86 + ... -ClientFolder test\test1 | Set-BrokerApplication -ClientFolder $null + ~~~~~ + CategoryInfo : InvalidData: (:) [Set-BrokerApplication], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Citrix.Broker.Admin.SDK.SetBrokerApplicationCommand
m
What do you see under ClientFolder property when you try to use Get-BrokerApplication and look at one of the applications that are in root folder? I would use the same value in Set afterwards
c
its blank ClientFolder :
m
There are different shades of Blank in PowerShell 🙂 It can be null, empty string or other object type. Try this (replace XYZ for your app): (Get-BrokerApplication XYZ).ClientFolder.GetType().Fullname
j
just try with -clientfolder ''. It works for me
c
'' is the one
👍 1
ta both