Jump to content
Welcome to our new Citrix community!
  • 1

ResetUpmProfile is not working with New-BrokerMachineCommand

Kai Schoumlnbach


Hi guys,


i am trying to reset the upm profile with powershell as described here: UPM-Reset


Add-PSSNapin -name citrix.*

New-BrokerMachineCommand -Category UserProfileManager -CommandName "ResetUpmProfile" -CommandData $byteArray -SendTrigger logon -user mydomainname\mytestuser


Then checking with "Get-BrokerMachineCommand" if the command is in the queue:



Then logged off the user and logged in again and i see the State "Sent"



but the profile ist not resetted at all and i have no idea why. When i reset the profile with Citrix Director everything works as expected...


AgentVersion             : 1912.0.4000.4227



Thanks in advance



When i reset with Citrix Director i see data in CommandData, what have to go in the variable $bytearray ?


Edited by Kai Schönbach
Link to comment

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...