Christoph Bergmeister

Results 271 comments of Christoph Bergmeister

Hi, maintainer of [PSScriptanalyzer ](https://github.com/powershell/psscriptanalyzer)here 👋🏻 The intellij extension seems to use [PowerShellEditorServices](https://github.com/powershell/powershelleditorservices), which has a default set of hard-coded rules [here](https://github.com/PowerShell/PowerShellEditorServices/blob/765c76c930ffcc7f4727a2d1f1dd7ee3ac71e4ee/src/PowerShellEditorServices/Services/Analysis/AnalysisService.cs#L64). Therefore, when you run `Invoke-ScriptAnalyzer`, it runs all...

Maintainer of [PSScriptanalyzer ](https://github.com/powershell/psscriptanalyzer)here 👋🏻 The intellij extension seems to use [PowerShellEditorServices](https://github.com/powershell/powershelleditorservices), which has a default set of hard-coded rules [here](https://github.com/PowerShell/PowerShellEditorServices/blob/765c76c930ffcc7f4727a2d1f1dd7ee3ac71e4ee/src/PowerShellEditorServices/Services/Analysis/AnalysisService.cs#L64). You can use a [PSScriptAnalyzer settings file](https://github.com/powershell/psscriptanalyzer#settings-support-in-scriptanalyzer) for what...

Just imagine what would happen should we go for it: Realistically speaking it would take at least 6 months of focussed effort to come up with a 'no regrets' version...

PSSA already has the [PSUseCompatibleCmdlets](https://github.com/PowerShell/PSScriptAnalyzer/blob/development/RuleDocumentation/UseCompatibleCmdlets.md) rule for that and ships with files for PowerShell Core (alpha) on Windows/Linux/Max and for Windows PowerShell 5.1. I am currently updating the PSCore files...

@tylerl0706 Thanks, I added it to [this](https://github.com/PowerShell/PSScriptAnalyzer/pull/954) PR and made sure I gave you kudos for it in the summary.

Using reflection you can still get you access to internal or private methods or constructors. Yes, reflection is not very performant but exceptions are not cheap in the first place,...

As a PowerShell Professional™️ I would also like to have an option for scoping it to the current user to avoid the need to have an elevated shell. I guess...

Sorry, I did not know that, I am clearly not a Chocolatey Professional™️ 🤣 . I guess a simplistic installation script does the job in most cases. To me it...

Awesome! For the old `vsts` CLI I've already created a module but adding the `az` CLI would be great (although I'm not sure if it should rather be its own...

Awesome, I've applied both your suggestions. Shall I adapt the build as part of this PR as well to test against the built version?