Modified best practice.
Modified best practice.

daviwil/PSScriptAnalyzer,korygill/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer,rkeithhill/PSScriptAnalyzer,juneb/PSScriptAnalyzer