Klaus Frank
Klaus Frank
Pragmatically speaking it should just fail on invocation time the same way as it does without GetNewClosure... (Also there is no global $nonExisting variable in this case, just run the...
I'd like to apologize. It wasn't my intent to be cantankerous. I'm just a little bit annoyed by how the process and interaction within these tickets changed recently. Esp. the...
Tbh, strict mode should have been the default state, and the mistake was not making it the default state. Same for allowing automatic module imports for non unique function names...
@237dmitry The benefit is mainly to allow me to do `Get-Variable -Scope Script/Local/... -NoInheritance | Out-SomeLogfileScreenOrTranscript` within my error handler and thereby only dumping all of my variables but not...
@rhubarb-geek-nz The windows sudo is also the other way around untrusted to trusted. > Welcome to the repository for [Sudo for Windows](https://aka.ms/sudo) 🥪. Sudo for Windows allows users to run...
Well that was already possible before. The only thing sudo enables (as it reads, haven't tried it yet, as it is not available on windows servers) to basically have a...
@SeeminglyScience I don't know how sudo is related. However it was part of the reason for the initial decission for "Won't fix" in the original ticket. See https://github.com/PowerShell/PowerShell/issues/15562#issuecomment-903269556 (At least...
But then it's not part of Start-Process. Which is the whole point of this feature request. Also Start-Process is already platform specific because of all of the `-Verb` stuff. It...
Are you sure this is dotNet? I thought this is some Win32 stuff. E.g. if I rename `HKEY_CLASSES_ROOT\exefile\shell\runasuser` into `runasuser2` the list `[System.Diagnostics.ProcessStartInfo]::new("test.exe").Verbs` returns also changes and now contains `runasuser2`...
Just hit this too, my use case however is slightly different. I had a function of a module that would output which items it modifies when "WhatIf" was specified, but...