Michael Klement

Results 1234 comments of Michael Klement

@237dmitry > in scripts there is no need to save on variables. There _is_: Any construct that forces you to use an auxiliary variable that _otherwise serves no purpose_ deserves...

Nice illustrations, @iRon7. * Note that example 1 is already supported, however (`Write-Host "This is a test." @Colors`). * Making splatting support `[pscustomobject]` instances as an alternative to `[hashtable]` ones...

@MartinGC94: Good points. `@@{X="Y"}` seems like the most natural extension to the current syntax and has the added advantage that it currently triggers a syntax error (unlike, say, `Write-Host -@{X="Y"}`)...

@iRon7, just to close the `[pscustomobject]` tangent: _array_- and _hashtable_-based splatting are already mutually exclusive [_update_: in the context of a _single_ instance of splatting]: when you use an _array_...

@IISResetMe, indeed it does. That's not what I was talking about, however: I was talking about (sensibly) not being able to mix the two approaches in a _single_ instance of...

@StevenBucher98, at list in the _list_ view the scrolling problem could be solved by using a single-line representation in the suggestions list, in the simplest case with an ellipsis (`…`)...

It looks like the [WezTerm CLI](https://wezterm.org/cli/general.html) is (easily) powerful enough to enable integration with `ttab` in principle, and while I understand that such an integration would be nice to have,...

> You can already easily use git hooks with powershell scripts today as you mentioned. No, you cannot _easily_ use them, which is the very reason for this enhancement request...

I appreciate the detailed and illuminating explanation, @daxian-dbw, and it's good - or rather: bad - to know that this problem is a _general_ one, not limited to `Set-Content`. As...

It sounds like what you're looking for isn't about parallelism per se, but rather about providing a generic _aggregating mechanism_ that would allow you to use the `Process` block in...