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

PowerTip: Find Automatic Variables that Begin with Letter

$
0
0

Summary: Find automatic variables in Windows PowerShell that begin with a specific letter.

Hey, Scripting Guy! Question How can I find automatic variables in Windows PowerShell that begin with the letter P?

Hey, Scripting Guy! Answer Use the drive Windows PowerShell variable provider with a wildcard character after the letter P:

DIR variable:P*


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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