Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Retrieve Last Token Received by PowerShell

$
0
0

Summary: Learn how to retrieve the last token that was received by Windows PowerShell.

Hey, Scripting Guy! Question How can I retrieve the last token received by Windows PowerShell?

Hey, Scripting Guy! Answer Use the $$ automatic variable:

PS C:\> notepad C:\fso\AMoreComplete.txt

PS C:\> $$

C:\fso\AMoreComplete.txt


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>