Skip to content

Commit

Permalink
DefaultDisplayPropertySet takes a string[]
Browse files Browse the repository at this point in the history
  • Loading branch information
trackd committed Jun 9, 2024
1 parent 359e40f commit fdc0d6f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 fdc0d6f

Please sign in to comment.