Created
October 25, 2013 09:47
-
-
Save abhishekkhaware/7152242 to your computer and use it in GitHub Desktop.
Create your profile in Windows Powershell.
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
// Display the path of Your Profile | |
PS c:\> $profile // It will echo the path to "Microsoft.PowerShell_profile.ps1" | |
// But, This file may not actually Exist. Check it by this command: | |
PS c:\> test-path $profile | |
// Create If it returns FALSE | |
PS c:\> new-item $profile -force -type file | |
// You Can do your script: | |
PS c:\> notepad $profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment