Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A quick script to help you switch up powershell profile files, and reset them back to normal.

Project description


A quick script to help you switch up powershell profile files, and reset them back to normal.


  • I use different $profile settings when I’m doing screencasts/live demos, and a different one for script and project development.
  • Becomes too taxing to keep switching profile settings, especially when each project I use may come with it’s own settings.


  • Incredibly Simple CLI script. Just specify the file (.ps1) you’re looking to place in your profile folder, and the script would take care of the rest.
  • Warns you before you overwrite an existing file.
  • Let’s you reset everything back to ‘normal’ (no profile files) if you’d like to have them go back to normal.
  • Simply uses ‘os’, ‘argparse’, ‘shutil’ libraries.

How To Use

  • cd into your project directory.
  • create a ‘custom-profile.ps1’ file with the required settings you’re looking for.
  • run ‘powfile -replace true’ to let the script work.


  • replace: Replacement file that exists in current folder, to be copied into the powershell folder.
  • reset : Reset file back to default. true
  • profile : Custom powershell profile path, if you’re using a path that’s not %userprofile%/Documents/WindowsPowerShell.



0.1.0 (2019-12-14)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for powfile, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size powfile-0.1.0-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page