Skip to content

Instantly share code, notes, and snippets.

@abhishekkhaware
Created October 25, 2013 09:47
Show Gist options
  • Save abhishekkhaware/7152242 to your computer and use it in GitHub Desktop.
Save abhishekkhaware/7152242 to your computer and use it in GitHub Desktop.
Create your profile in Windows Powershell.
// 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