Installation
The easiest and preferred way to install PSCodeHealth is via the PowerShell Gallery. For more information, see the PowerShell Gallery Getting Started page.
Run the following command to install PSCodeHealth and its 2 dependencies (Pester and PSScriptAnalyzer) :
Install-Module -Name PSCodeHealth -Repository PSGallery
As an alternative, you can clone this repository to a location on your system and copy the PSCodeHealth
subfolder into :
C:\Program Files\WindowsPowerShell\Modules\
.