Skip to content

Instantly share code, notes, and snippets.

@Nuclearfossil
Last active November 24, 2022 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nuclearfossil/8812144da0f85885c6a6977f089f812f to your computer and use it in GitHub Desktop.
Save Nuclearfossil/8812144da0f85885c6a6977f089f812f to your computer and use it in GitHub Desktop.
Powershell file locations
I'm putting together a little list of 'where to find stuff' for powershell.
Description Location
----------------------------------------------------- -------------------------------------------------------------------------------
Command history across all Powershells C:\Users\<name>\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
Powershell system config (not shell config) $PSHOME\powershell.config.json
Powershell config file $PROFILE
C:\Users\<name>\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
Edit Powershell config code $PROFILE
Reload Powershell config . $PROFILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment