Quantcast
Channel: Scripting Blog
Viewing all articles
Browse latest Browse all 2129

PowerTip: Use PowerShell to Show Path to All Your Profiles

$
0
0

Summary: Use Windows PowerShell to show the path to all your Windows PowerShell profiles.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see the path to all of my Windows PowerShell profiles—
          not only the current host or current user profile?

Hey, Scripting Guy! Answer Use the $profile automatic variable, pipe the results to the Format-List cmdlet,
          and then use the –force parameter to force it to show all paths:

$PROFILE | Format-List -Force


Viewing all articles
Browse latest Browse all 2129

Trending Articles



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