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

ResetUpmProfile is not working with New-BrokerMachineCommand


Kai Schoumlnbach

Question

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:

image.png.be80f1c44d4235b95a6408cfa9aeb20c.png

 

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

image.png.90ccbed87e44d71e7ef038a35c507d68.png

 

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

 

EDIT:

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

image.thumb.png.ba521f46df0ff9c423e7a63fe8f5cbb5.png

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