• July 2008
    M T W T F S S
        Aug »
  • Advertisements

Include Cygwin in your PowerShell Environment (Vista)

Want to include your Cygwin environment in your Windows PowerShell on Vista?

Step 1.

Open PowerShell. Run:

set-executionpolicy RemoteSigned

Step 2.

Create a directory in your user profile:

mkdir c:\users\(profile)\Documents\WindowsPowerShell

Step 3.

Navigate to the above created directory, and create a new file called “Microsoft.Powershell_profile.ps1”

Step 4.

Edit the file in Notepad:


Step 5.

Include any other paths if necessary, or include other scripts and add-ons as needed. Relaunch PowerShell and varify the changes. Trying running


or more simply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: