Powershell 스트립트를 서비스로 등록하는 방법
instsrv.exe, srvany.exe 설치instsrv.exe는 서비스를 등록/삭제 할 수있는 툴이고, 해당 툴을 이용하여, srvany.exe 를 서비스로 등록하면, 외부 어플리케이션을 서비스로 실행할 수 있게 해주다.두파일은 windows 2003 Resource Kit Tools 에서 제공하는 툴로 없는 경우 실행파일만 복사해줘도 된다.C:\windows\system32\instsrv.exeC:\windows\system32\srvany.exeinstsrv.exe는 파워쉘 명령어로 대체 가능서비스 등록instsrv.exe TestService "C:\windows\system32\srvany.exe"또는 파워쉘에서 New-Service -Name "TestService" -BinaryPathN..
운영체제
2018. 1. 3. 18:30
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- mysql
- apache
- Python
- Windows
- client
- 이슈처리
- deview
- Linux
- command
- Ansible
- 코드
- PowerShell
- limits
- error
- httpd
- 명령어
- configuration
- 번역
- RESTful
- example
- 외부링크
- Module
- code
- 예제
- monitoring
- engineering
- check
- File
- Web
- MariaDB
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함