DAtum

Entrepreneurship, Software and the business of technology

Powershell Config


# this file is at C:\Documents and Settings\<username>\My Documents\WindowsPowerShell\profile.ps1

$Host.Ui.RawUi.BackGroundColor = "Black"
cls
set-location d:\
$oldPath = get-content Env:\Path;
$env:INCLUDE="C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\crt;"+ "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;"
$env:LIB="C:\Program Files\Microsoft Visual Studio 9.0\VC\lib;" +  "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib"
$newPath = "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;" +$oldPath + ";"+ "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin" + ";"+ "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\win64" + ";" + "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\Bin" + ";" + ";" +
"C:\Program Files\Vim\vim71";

$env:LS_OPTIONS = "-bhAC --more --color=auto --recent --streams"
set-alias ls "C:\WINDOWS\system32\ls.exe" -option allscope
set-content Env:\Path $newPath;

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 )

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

Follow

Get every new post delivered to your Inbox.