PSScriptAnalyzer

PSScriptAnalyzer는 PowerShell 모듈 및 스크립트에 대한 정적 코드 검사기입니다. PSScriptAnalyzer는 규칙 집합을 실행하여 PowerShell 코드의 품질을 확인합니다.

참고

모듈에 대한 지원은 제한됩니다. 페이지 아래쪽의 피드백 섹션에 있는 이 제품 단추를 사용하여 원본 리포지토리에 문제를 제출하세요.

PSScriptAnalyzer

Get-ScriptAnalyzerRule

Gets the script analyzer rules on the local computer.

Invoke-Formatter

Formats a script text based on the input settings or default settings.

Invoke-ScriptAnalyzer

Evaluates a script or module based on selected best practice rules