Skip to content

Instantly share code, notes, and snippets.

@JamesSkemp
Created November 12, 2015 04:11
Show Gist options
  • Save JamesSkemp/731c4d29babb7c8a7fb8 to your computer and use it in GitHub Desktop.
Save JamesSkemp/731c4d29babb7c8a7fb8 to your computer and use it in GitHub Desktop.
Create a new PowerShell profile
# Test whether a profile exists. If it does, you can skip the following.
Test-path $profile
# Creates a profile.
New-item –type file –force $profile
# Bonus 1: Edit the profile in Notepad.
notepad $profile
# Bonus 2: What you probably want if you have any startup scripts defined in PowerShell.
Set-ExecutionPolicy RemoteSigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment