PS: Testing And Setting PS Profiles


So as you may or may not know, PS (powershell) uses six profiles when launching scripts and hey!, even VS Code has one, so it’s a hassle trying to keep them all synced up. These are scripts I use to help keep them in check on different machines.

To Resolve:

1. This script will test to see if they exists and if not, create them:

2. This script will set them to my current Profile’s setup:

This can be found in my gwConfiguration section.