James Brundage

Results 990 issues of James Brundage

This will open up another feature for PowerShell types: simple and easy keyed storage.

enhancement

Each view should become a `[ScriptMethod]`

Aka, `Import-TypeView` should support web shortcuts (and simpler links). It is pretty trivial to make a `[ScriptProperty]` that just returns a url, and this could be _pretty powerful_. (one simple...

enhancement

Any command can be embedded in a ScriptMethod or ScriptProperty. Doing so can have significant benefits (the ability to query and performance come to mind). To facilitate this, `Import-TypeView -Command`...

enhancement

View metadata should be available within a `.types.ps1xml`, in a typename with the format: `View.$TypeName`. This should include a ScriptMethod for any defined `.view.ps1` file, as well the names of...

enhancement

`.view.ps1` files have been supported for some time, and have generally been interpreted as a custom formatter for that file. These have the potential to be significantly more useful if...

enhancement

### Synopsis Write a Selection Condition ### Description Write a formatting selection condition. ### Example ```PowerShell Write-FormatSelectionCondition -TypeName 'AnyTypeName' # should default to a -ScriptBlock that returns $true Write-FormatSelectionCondition -TypeName...

enhancement