Trying to use the Citrix Remote Powershell commandlets to Remove a VM from its Delivery Group. Syntax is Remove-BrokerMachine -MachineName $machineName -DesktopGroupName $SourceDeliveryGroup ... I keep getting the error response, "_Remove-BrokerMachine : A parameter cannot be found that matches parameter 'DesktopGroupName'_ ". I also tried just "DesktopGroup", no luck. And ideas?
c
c4rm0
11/13/2025, 2:44 PM
wouldnt it be remove-brokermachine -machinename domain\machine1 -desktopgroupname DG1
g
Greg Kern
11/13/2025, 3:00 PM
well the $machineName element is captured in a previous function where I told it to pull from a "VdiList.txt" file, and then it's doing a "ForEach" thing... It's that one parameter, tho, that is tripping me up
Greg Kern
11/13/2025, 3:08 PM
What's really weird is, I have another script that puts Machines into MM, using the Get-BrokerMachine commandlet, and it accepts "-DesktopGroupName" with no problem...