# PowerShell Script Analyzer Rules

## Table of Contents

| Rule | Severity |
|------|----------------------------------|
|[AvoidAlias](./AvoidAlias.md) | Warning |
|[AvoidDefaultTrueValueSwitchParameter](./AvoidDefaultTrueValueSwitchParameter.md) | Warning|
|[AvoidEmptyCatchBlock](./AvoidEmptyCatchBlock.md) | Warning|
|[AvoidGlobalVars](./AvoidGlobalVars.md) | Warning|
|[AvoidInvokingEmptyMembers](./AvoidInvokingEmptyMembers.md) | Warning|
|[AvoidNullOrEmptyHelpMessageAttribute](./AvoidNullOrEmptyHelpMessageAttribute.md) | Warning|
|[AvoidReservedCharInCmdlet](./AvoidReservedCharInCmdlet.md) | Error |
|[AvoidReservedParams](./AvoidReservedParams.md) | Error |
|[AvoidShouldContinueWithoutForce](./AvoidShouldContinueWithoutForce.md) | Warning|
|[AvoidTrapStatement](./AvoidTrapStatement.md) | Warning|
|[AvoidUninitializedVariable](./AvoidUninitializedVariable.md) | Warning|
|[AvoidUsingComputerNameHardcoded](./AvoidUsingComputerNameHardcoded.md) | Error |
|[AvoidUsingConvertToSecureStringWithPlainText](./AvoidUsingConvertToSecureStringWithPlainText.md) | Error |
|[AvoidUsingDeprecatedManifestFields](./AvoidUsingDeprecatedManifestFields.md) | Warning|
|[AvoidUsingFilePath](./AvoidUsingFilePath.md) | Error |
|[AvoidUsingInvokeExpression](./AvoidUsingInvokeExpression.md) | Warning|
|[AvoidUsingPlainTextForPassword](./AvoidUsingPlainTextForPassword.md) | Warning|
|[AvoidUsingPositionalParameters](./AvoidUsingPositionalParameters.md) | Warning|
|[AvoidUsingUsernameAndPasswordParams](./AvoidUsingUsernameAndPasswordParams.md) | Error |
|[AvoidUsingWMICmdlet](./AvoidUsingWMICmdlet.md) | Warning|
|[AvoidUsingWriteHost](./AvoidUsingWriteHost.md) | Warning|
|[DscExamplesPresent](./DscExamplesPresent.md) | Information |
|[DscTestsPresent](./DscTestsPresent.md) | Information |
|[MissingModuleManifestField](./MissingModuleManifestField.md) | Warning|
|[PossibleIncorrectComparisonWithNull](./PossibleIncorrectComparisonWithNull.md) | Warning|
|[ProvideCommentHelp](./ProvideCommentHelp.md) | Information|
|[ProvideDefaultParameterValue](./ProvideDefaultParameterValue.md) | Warning|
|[ProvideVerboseMessage](./ProvideVerboseMessage.md) | Information |
|[ReturnCorrectTypeDSCFunctions](./ReturnCorrectTypeDSCFunctions.md) | Information |
|[UseApprovedVerbs](./UseApprovedVerbs.md) | Warning|
|[UseBOMForUnicodeEncodedFile](./UseBOMForUnicodeEncodedFile.md) | Warning|
|[UseCmdletCorrectly](./UseCmdletCorrectly.md) | Warning|
|[UseDeclaredVarsMoreThanAssignments](./UseDeclaredVarsMoreThanAssignments.md) | Warning|
|[UseIdenticalMandatoryParametersDSC](./UseIdenticalMandatoryParametersDSC.md) | Error |
|[UseIdenticalParametersDSC](./UseIdenticalParametersDSC.md) | Error |
|[UseLiteralInitializerForHashtable](./UseLiteralInitializerForHashtable.md) | Warning |
|[UseOutputTypeCorrectly](./UseOutputTypeCorrectly.md) | Information|
|[UsePSCredentialType](./UsePSCredentialType.md) | Warning|
|[UseShouldProcessCorrectly](./UseShouldProcessCorrectly.md) | Warning|
|[UseShouldProcessForStateChangingFunctions](./UseShouldProcessForStateChangingFunctions.md) | Warning|
|[UseSupportsShouldProcess](./UseSupportsShouldProcess.md) | Warning|
|[UseSingularNouns](./UseSingularNouns.md) | Warning|
|[UseStandardDSCFunctionsInResource](./UseStandardDSCFunctionsInResource.md) | Error |
|[UseToExportFieldsInManifest](./UseToExportFieldsInManifest.md) | Warning|
|[UseCompatibleCmdlets](./UseCompatibleCmdlets.md) | Warning|
|[PlaceOpenBrace](./PlaceOpenBrace.md) | Warning|
|[PlaceCloseBrace](./PlaceCloseBrace.md) | Warning|
|[UseConsistentIndentation](./UseConsistentIndentation.md) | Warning|
|[UseConsistentWhitespace](./UseConsistentWhitespace.md) | Warning|
