Last active
July 23, 2020 14:47
-
-
Save bergmeister/66499b6fffbdaf0e3216817674626eba to your computer and use it in GitHub Desktop.
Install PSScriptAnalyzer from the PoshTestGallery, which is likely to get pushed to the PSGallery soon pending positive feedback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
Register-PackageSource -Name PoshTestGallery -Location https://www.poshtestgallery.com/api/v2/ -ProviderName PowerShellGet | |
Install-Module PSScriptAnalyzer -Repository PoshTestGallery -Scope CurrentUser -Force | |
} | |
finally { | |
Unregister-PSRepository -Name PoshTestGallery | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment