문서의 이전 판입니다!
$PROFILE
환경변수값$Home\[My ]Documents\WindowsPowerShell\Profile.ps1
$Home\[My ]Documents\WindowsPowerShell\Profile.ps1
에 다음 추가하면 l
, ls
로 명령실행가능. 기존 명령은 dir
로 가능# for colored ls Import-Module Get-ChildItemColor Set-Alias l Get-ChildItemColor -option AllScope Set-Alias ls Get-ChildItemColorFormatWide -option AllScope
powershell start-process '원하는명령(혹은 .bat)' -WindowStyle Hidden
ps *foo* get-process | findstr foo get-process | where ProcessName -like "*foo*"