Closed
Description
Before submitting a bug report:
- Make sure you are able to repro it on the latest released version
- Perform a quick search for existing issues to check if this bug has already been reported
Steps to reproduce
Install-Module PSScriptAnalyzer
Get-Command -Module PSScriptAnalyzer
Expected behavior
CommandType Name Version
----------- ---- -------
Cmdlet Get-ScriptAnalyzerRule 1.16.1
Cmdlet Invoke-Formatter 1.16.1
Cmdlet Invoke-ScriptAnalyzer 1.16.1
Actual behavior
Returns nothing.
If an unexpected error was thrown then please report the full error details using e.g. $error[0] | Select-Object *
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.1
PSEdition Core
GitCommitId v6.0.1
OS Darwin 16.7.0 Darwin Kernel Version 16.7...
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }
1.17.1