Skip to content

Commit

Permalink
DefaultDisplayPropertySet takes a string[], update example (#11171)
Browse files Browse the repository at this point in the history
* DefaultDisplayPropertySet takes a string[]

* update ms.date

---------

Co-authored-by: trackd <trackd@users.noreply.github.com>
  • Loading branch information
trackd and trackd committed Jun 10, 2024
1 parent 359e40f commit b1d1b20
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Utility/Update-TypeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 06/10/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/update-typedata?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Update-TypeData
Expand Down Expand Up @@ -144,7 +144,7 @@ when no properties are specified. Because the type data is not specified in a `T
is effective only in the current session.

```powershell
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime, DayOfYear, Quarter"
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime", "DayOfYear", "Quarter"
Get-Date | Format-List
```

Expand Down
4 changes: 2 additions & 2 deletions reference/7.2/Microsoft.PowerShell.Utility/Update-TypeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 06/10/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/update-typedata?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Update-TypeData
Expand Down Expand Up @@ -144,7 +144,7 @@ when no properties are specified. Because the type data is not specified in a `T
is effective only in the current session.

```powershell
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime, DayOfYear, Quarter"
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime", "DayOfYear", "Quarter"
Get-Date | Format-List
```

Expand Down
4 changes: 2 additions & 2 deletions reference/7.4/Microsoft.PowerShell.Utility/Update-TypeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 06/10/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/update-typedata?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Update-TypeData
Expand Down Expand Up @@ -144,7 +144,7 @@ when no properties are specified. Because the type data is not specified in a `T
is effective only in the current session.

```powershell
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime, DayOfYear, Quarter"
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime", "DayOfYear", "Quarter"
Get-Date | Format-List
```

Expand Down
4 changes: 2 additions & 2 deletions reference/7.5/Microsoft.PowerShell.Utility/Update-TypeData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Utility
ms.date: 12/12/2022
ms.date: 06/10/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/update-typedata?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Update-TypeData
Expand Down Expand Up @@ -144,7 +144,7 @@ when no properties are specified. Because the type data is not specified in a `T
is effective only in the current session.

```powershell
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime, DayOfYear, Quarter"
Update-TypeData -TypeName "System.DateTime" -DefaultDisplayPropertySet "DateTime", "DayOfYear", "Quarter"
Get-Date | Format-List
```

Expand Down

0 comments on commit b1d1b20

Please sign in to comment.