News

That script simply added 2 to whatever number had been passed to it, and then displayed the result on the screen. If you look at Figure 1, for example, you can see that cell A1 contains a value of 3.
This is why a handy PowerShell module called PSScriptAnalyzer was introduced by Microsoft. PSScriptAnalyzer is a free module that allows you to scan your scripts or modules for coding best practices.