Created
November 12, 2015 04:11
-
-
Save JamesSkemp/731c4d29babb7c8a7fb8 to your computer and use it in GitHub Desktop.
Create a new PowerShell profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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