vrijdag 4 maart 2011

Windows PowerShell and Visual Studio

  • Om .ps1 bestanden uit te kunnen voeren:
PS > Set-ExecutionPolicy RemoteSigned

  • Notepad++ alias aanmaken

PS > Set-Alias n++ 'C:\Program Files (x86)\Notepad++\notepad++.exe'
  • Je PowerShell profiel aanpassen (met Notepad++)

PS > $test = Test-Path $PROFILE; If($test -eq $false){New-Item -ItemType file -force $PROFILE}Else{n++ $PROFILE}


Geen opmerkingen:

Een reactie posten