Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- DB 도메인
- port
- grep
- Eclipse
- GIT
- IntelliJ
- 네트워크
- netsh
- JavaScript
- Mac
- bash
- Windows 10
- Source
- VirtualBox
- find
- import
- Windows
- web.xml
- xargs
- lsof
- profile
- tomcat
- 단축키
- copy-dependencies
- context
- Quartz
- maVen
- resource
- ssh
- 공통표준용어
Archives
- Today
- Total
develog
[powershell] 명령어 본문
스크립트 파일 (test.ps1)
try { |
help 보기
get-help copy |
function (without param)
# 함수 정의 function fn1 { # 함수 실행 fn1 |
function (with param)
# 함수 정의 function fn2 { # 함수 실행 fn2 "aa" "bb" |
comment
# single line comment <# block comment #> |
powershell prompt
PS C:\> |
경로 리턴
(Resolve-Path .\).Path (Resolve-Path "../../").Path |
copy
copy-item -force -recurse -verbose bak/* aa copy -force -recurse bak/* aa |
delete
remove-item -force -recurse -verbose aa/* del -recurse aa/* |
Comments