Staffan Gustafsson
Staffan Gustafsson
How about a more general parameter like `-ExpandType:string[]`? ```powershell # get single line date dir | select -first 1 | format-custom ``` ```powershell # get way too much output dir...
DateTime already has an entry for custom formatting, but it is not applied when datetime is a member. ```csharp private static IEnumerable ViewsOf_System_DateTime() { yield return new FormatViewDefinition("DateTime", CustomControl.Create() .StartEntry()...
I've considered this, and I think the right thing is to release the module with a new major version without the aliases.
I would love to see this merged!
@PaulHigin What is the plan for CredManStore?
Looking at the source, we never check the PowerShell version. Shouldn't we? Seems like an oversight. The relevant code (src\System.Management.Automation\engine\Modules\ModuleCmdletBase.cs) never looks at PowerShell version, so we don't skip modules...
With autoload, we get to module loading via this callstack: ```text System.Management.Automation.CommandDiscovery.TryModuleAutoDiscovery(string commandName, System.Management.Automation.ExecutionContext context, string originalCommandName, System.Management.Automation.CommandOrigin commandOrigin, System.Management.Automation.SearchResolutionOptions searchResolutionOptions, System.Management.Automation.CommandTypes commandTypes, ref System.Exception lastError) System.Management.Automation.CommandDiscovery.LookupCommandInfo(string commandName, System.Management.Automation.CommandTypes commandTypes,...
@daxian-dbw Is this the enough context? Otherwise, let me know what more info is needed.
The build failures seem to be unrelated to the change.
Save has _Preserves data to avoid loss_ as the description, and I never found that to be a match for downloading a file. But maybe amend the description of Save...