Summary: Find the last Windows PowerShell command by using an automatic variable.
How can you find the last Windows PowerShell command that was run?
Use the $$ automatic variable.
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments