Michael Klement

Results 1234 comments of Michael Klement

Great sleuthing, @jhoneill; what an insidious bug (though probably rare in the wild); I've taken the liberty of reporting it in #17525

That indeed works well _on Windows_, @rkeithhill and @Bill-Stewart but not on Unix-like platforms, as of PSReadLine v2.0-rc1 - see https://github.com/PowerShell/PSReadLine/issues/1261

@Jaykul: You shouldn't have to redefine or define alternativse to whatever your terminal's paste-from-clipboard shortcut is - or any of its other, menu-based paste methods (which you probably can't redefine)....

The bottom line is: * I initially wanted to explain the discrepancy between @VertigoRay's experience on the one hand, and @rkeithhill and @Bill-Stewart's on the other (or to at least...

https://github.com/PowerShell/PowerShell/issues/6467 tries to give a comprehensive overview of the current behavior with respect to _arguments_ in command parsing mode - however, it doesn't cover the hashtable-key issue (see below). `about_Quoting_Rules`...

The aspect of selective disabling / enabling of rules is essentially a duplicate of #823, which asks that the existing GUI capability of selecting rules (`>PowerShell: Select PSScriptAnalyzer Rules`) be...

_Quietly accepting invalid input_ is problematic. Another way of putting it: if this is by design, please reconsider the design. Consider reporting an error if an invalid `-i` argument is...

@stevenvachon: (As of at least v3.0.1) it _does_ work with _values_, at least with _strings_ (there's an example in the read-me). Not supporting it with _numbers_ smells like a bug...

Good point, @mi-hol: I forgot to include the `-Verb RunAs` and `-Credential` use cases. Note that they cannot be _combined_, however; if you do need to combine them - which...

@mi-hol, you're missing the `-Command` / `-c` parameter in the `pwsh.exe` example: (`powershell.exe` _defaults_ to `-c`, but `pwsh.exe` now defaults to `-file`, so as to support Unix shebang lines): ```powershell...