Bruce Payette
Bruce Payette
$Error was originally conceived as a running log of **all** errors that happened in your script, including exceptions that were caught or when ErrorAction was set to SilentlyContinue The goal...
Do you really mean a file or just redirected (not a tty/console). IIRC, there is logic in the native command processor that computes whether the output is redirected or not.
@banyula Currently this module is only intended to work on Windows. We may change that in the future but for now, Mac/Linux are not supported.
@banyula I've labeled this as an enhancement request if that's ok with you.
The design was to merge the paths _exactly_ as they are but eliminating duplicates. If there are empty elements in any of the components, they get copied into resulting path....
As a reaction to WMI, PowerShell serialization was *explicitly* designed to not deal with live objects so this would require big changes in the existing remoting infrastructure. Not only are...
There is a strong reason not to change the current behavior: the presence of a member in this collection tells you that the parameter was actually specified in the command...