Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Message oddity

So I wanted to personalize a message in a deployment so I started it with Hey %username%, but the message output as Hey computername$ instead. Any ideas?

0

Comments

3 comments
Date Votes
  • What account is being used to deploy the package/step?

    It would need to be run as "Logged on User" for %Username% to match the person logged into the computer.

    Otherwise, it would show the Domain Admin, Local Admin, or System account you're deploying the step as.

    0
  • Thanks for the suggestion. I ran it as the logged on user and got the same result.

    0
  • Looks like is is just a PDQ thing. Maybe a bug, maybe intended function.

    Using a different type of command (like a command step) uses the variable correctly. So maybe a powershell popup with your custom message would work better in this case.

    And using a Message step, with a PDQ variable, will display that variable. But not easy/possible to set that with what you want.

    0