237dmitry

Results 388 comments of 237dmitry

I don't think the cmdlet's `WhatIf` CommonParameter and the `WhatIfPreference` variable are related. If you try a cmdlet that has `WhatI` in it but don't specify it, the variable will...

> our code directly contradicts your claim that the common parameter and the preference variable aren't related This is because I never use `WhatIf`, when in doubt I check the...

What is for such definition of `DisplayName`? ``` if ($this.Name.IndexOf('-') -lt 0) {...} else {$this.Name}; ```

`CtrlTab` is not in the list of possible keys ([keybindings](https://github.com/zyedidia/micro/blob/master/runtime/help/keybindings.md)) ``` Up Down Right Left UpLeft UpRight DownLeft DownRight Center PageUp PageDown Home End Insert Delete Help Exit Clear Cancel...

> the (-Path or -LiteralPath) is mandatory I think is only `LiteralPath` ``` (Get-Command Get-ChildItem).Parameters.Values.where{ $_.ParameterSets.Values.IsMandatory }.Name ```

Is the `Out-GridView` the part of pwsh 7+ ? Imho this is from deep past Windows Powersell (5.1)

I would wait for the release, because the release candidate does not take into account all aspects. _In my opinion, it is time to throw out all these atavisms of...

> and development seems to have stalled. In my opinion, this is being developed by the Windows PowerShell team, not PowerShell 7. _The main problem with productive development of PowerShell...

In my opinion you can examine ErrorRecord object by its properties: ```powershell (Get-Error).Exception.TargetSite # list output ```