
Sorry if this question was asked before but how can I store variables for the duration of a macro ? I would like to do something like this : var myToken = @{target|token_id}
And be able to reuse myToken in my macro. I know I can create a macro #Get-Token-ID but if my macro is multiline, I have to make a target for every command. Any thoughts ? PS : English is not my native language. Sorry for bad grammar/conjugation.