Can you assign values entered by user to variables inside Powershell Script in Tier2Scripts?

I have a need to use information such as the email address entered in by the user when creating the ticket in the GUI and then bringing that information into in a powershell script being run as a Tier2Script or Tier2Assist. Is this possible? How will I go about this? i.e. ($UserEmail = email)


  • Hey, sorry for the long delay with no answer on this. You can't pass variables directly, but you can pass it to the script as command line parameters. What specifically are you trying to do? I'll see if we can figure out a way to make it happen.



Sign In or Register to comment.