121,278

Downloads

4,563

Downloads of 1.5.0

2016-03-30

Last published

PSScriptAnalyzer

1.5.0

PSScriptAnalyzer provides script analysis and checks for potential code defects in the scripts by applying a group of built-in or customized rules on the scripts being analyzed.

Inspect

PS> Save-Module -Name PSScriptAnalyzer -Path <path> -RequiredVersion 1.5.0

Install

PS> Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.5.0

Deploy

See Documentation for more details.

Release Notes

Release v1.5.0 (March.30, 2016)

Engine:

- Fixed engine bug that prevented versioned script rule modules from being loaded
- Fixed loading issues with custom rules that do not have comment-based help to describe the rule
- Housekeeping: Fixes to Appveyor config to use VS 2015 and WMF 5.0 RTM image
- Community Fix: Updates to the Initialize API to process the -Settings (formerly -Profile) parameter
- Perf: Improved rule filtering based on severity before invoking the engine to create tasks (threads)
- Fixed a hang issue that appeared when using ScriptAnalyzer engine recursively with a large data set

Rules:

- Various fixes to UseToExportFieldsInManifest rule that include perf and functional fixes
- Fixes to AvoidNullOrEmptyHelpMessageAttribute to use parsed values instead of ast extent
- Updated messages for AvoidUsernameAndPasswordParams rule and UsePSCredentialType rule
- Scrubbed inconsistencies in severities for rules
- Community Fix: False positive on PSUseApprovedVerbs when scope is declared as a prefix to the Verb-Noun combination

Owners

Authors

Microsoft Corporation

Copyright

(c) Microsoft Corporation 2016. All rights reserved.

FileList

Show
  • PSScriptAnalyzer.nuspec
  • Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll
  • Microsoft.Windows.PowerShell.ScriptAnalyzer.dll
  • PSScriptAnalyzer.psd1
  • PSScriptAnalyzer.psm1
  • ScriptAnalyzer.format.ps1xml
  • ScriptAnalyzer.types.ps1xml
  • en-US\about_PSScriptAnalyzer.help.txt
  • en-US\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll-Help.xml
  • PSv3\Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.dll
  • PSv3\Microsoft.Windows.PowerShell.ScriptAnalyzer.dll
  • Settings\CmdletDesign.psd1
  • Settings\DSC.psd1
  • Settings\ScriptFunctions.psd1
  • Settings\ScriptingStyle.psd1
  • Settings\ScriptSecurity.psd1
  • Tags

    Cmdlets

    Functions

    This module has no functions.

    DSC Resources

    This module has no DSC resources.

    Workflows

    This module has no workflows.

    Role Capabilities

    This module has no role capabilities.

    Dependencies

    This module has no dependencies.

    Minimum PowerShell version

    3.0

    Version History

    Version Downloads Last updated
    PSScriptAnalyzer 1.16.0 4789 Wednesday, August 16 2017
    PSScriptAnalyzer 1.15.0 11978 Wednesday, June 21 2017
    PSScriptAnalyzer 1.14.1 2346 Monday, June 12 2017
    PSScriptAnalyzer 1.14.0 595 Friday, June 09 2017
    PSScriptAnalyzer 1.13.0 5339 Thursday, May 18 2017
    PSScriptAnalyzer 1.12.0 1956 Tuesday, May 09 2017
    PSScriptAnalyzer 1.11.1 6559 Tuesday, April 04 2017
    PSScriptAnalyzer 1.11.0 6306 Wednesday, March 01 2017
    PSScriptAnalyzer 1.10.0 5896 Thursday, January 19 2017
    PSScriptAnalyzer 1.9.0 4523 Tuesday, December 06 2016
    PSScriptAnalyzer 1.8.1 6269 Friday, October 14 2016
    PSScriptAnalyzer 1.8.0 958 Saturday, October 08 2016
    PSScriptAnalyzer 1.7.0 4889 Thursday, August 18 2016
    PSScriptAnalyzer 1.6.0 28207 Tuesday, June 07 2016
    PSScriptAnalyzer 1.5.0 (this version) 4563 Wednesday, March 30 2016
    PSScriptAnalyzer 1.4.0 2649 Wednesday, February 17 2016
    PSScriptAnalyzer 1.3.0 906 Tuesday, January 19 2016
    PSScriptAnalyzer 1.2.0 1394 Wednesday, December 16 2015
    PSScriptAnalyzer 1.1.1 552 Wednesday, November 04 2015
    PSScriptAnalyzer 1.1.0 508 Tuesday, September 01 2015
    PSScriptAnalyzer 1.0.2 279 Wednesday, June 24 2015
    PowerShell ScriptAnalyzer 1.0.1 144 Friday, May 08 2015
    PowerShell ScriptAnalyzer 1.0 81 Friday, April 24 2015