-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-11321) Add examples for DefaultDisplayProperty
Prior to this change, the documentation didn't include examples of defining the default display property in a `Types.ps1xml` file or with the `Update-TypeData` cmdlet. This change: - Adds a new example to the `Update-TypeData` cmdlet showing how a user can define a script property and set it as the default display property in a single command. - Updates existing examples for line length and readability. - Updates the example showing **PSStandardMembers** in `about_Types.ps1xml` to include a default display property. - Fixes AB#294774 - Resolves #11321
- Loading branch information
1 parent
fce5e8d
commit 5025c01
Showing
8 changed files
with
904 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
257 changes: 212 additions & 45 deletions
257
reference/5.1/Microsoft.PowerShell.Utility/Update-TypeData.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
265 changes: 220 additions & 45 deletions
265
reference/7.2/Microsoft.PowerShell.Utility/Update-TypeData.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
265 changes: 220 additions & 45 deletions
265
reference/7.4/Microsoft.PowerShell.Utility/Update-TypeData.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.