2010. 10. 5. 06:00

오늘은 파워쉘 디버깅에 대해서 알아볼까 하는데요

스크립트 작성시 디버깅은 바로 Set-PSDebug에게 맡기시면 됩니다.

 


 Set-PSDebug -Trace 1

Trace 단계는 최대 2까지 지원되며 1보다 2가 자세한 디버깅이 가능합니다.

 


Set-PSDebug –Step

실행되는 단계별로 확인할 수 있습니다. 가장 디버깅에 유효한 옵션이 아닐까하네요..

 


Set-PSDebug –Off

디버깅을 해제합니다.


원본: http://vstarmanv.tistory.com/entry/PowerShell-DebugSet-PSDebug

'Powershell > @우주인' 카테고리의 다른 글

[MSSQL]WMI for SQL Management(3)-SqlServerAlias  (0) 2010.10.26
플랫폼 구분(64/32bit)  (0) 2010.10.05
[MSSQL]WMI for SQL Management(2)-ClientNetworkProtocol  (0) 2010.10.05
Clip을 이용한 복사  (0) 2010.09.15
Add-PSSnapin  (0) 2010.09.15
Posted by 알 수 없는 사용자
:
BLOG main image
Windows Server를 공부 하는 사람들의 팀블로그 by 마성민

카테고리

분류 전체보기 (76)
Windows (2)
Powershell (56)
AD (0)
Exchange (6)
System Center (9)
IIS (0)
SQL (3)
Sharepoint (0)

태그목록

Tistory Cumulus Flash tag cloud by BLUEnLIVE requires Flash Player 9 or better.

Total :
Today : Yesterday :