Message oddity
Brad McClave
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
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.
Thanks for the suggestion. I ran it as the logged on user and got the same result.
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.