Installing the Development Environment

This document assumes you are using Windows 8.1. If you are using a different version of windows, you will need to adjust the directions slightly.

Due to the security policy on the Windows machines, it is not possible to use the Microsoft.PowerShell_profile.ps1 file directly. Instead, you will need to copy its contents to a new file, in the location it expects to be found.

The path necessary is C:\Users\<local user name>\Documents\WindowsPowerShell. You will likely have to create a WindowsPowerShell directory yourself. Create this directory, and save the copy of the Microsoft.Powershell_profile.ps1 here. See the file itself for detailed instructions.

You must also create the folder C:\Users\<local user name>\PowerShell. This is used for some bookkeeping.

To launch PowerShell, click start, and then either type powershell into the search box, or select All Programs -> Accessories -> Windows PowerShell -> Windows PowerShell. You will need to modify the execution policy of PowerShell. This can be done by launching PowerShell as an administrator (right click on the program in the start menu and select "Run as administrator"), and run the following command:

C:\> Set-ExecutionPolicy -executionPolicy RemoteSigned

After executing the above command, you will need to relaunch PowerShell as a regular user. Assuming you have properly copied the contents of the file as described above to the location described, you will now have access to the Visual Studio command line tools.


   D. Kevin McGrath
   Last modified: Fri Oct 20 09:31:13 2017