Saw these variables in the debugger and I'm not sure what they do.
$_
The current pipeline object; used in script blocks, filters, the process clause of functions, where-object, foreach-object and switch$^
contains the first token of the last line input into the shell$$
contains the last token of last line input into the shell$?
Contains the success/fail status of the last statementSource: http://www.computerperformance.co.uk/powershell/powershell_variables.htm#%24Dollar_variables_
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With