Skip to content

Commit 47b6876

Browse files
Specify the correct formatting file extension
This fixes the incorrect assertion that formatting files **must** use `.format.ps1xml` (only `.ps1xml` is required).
1 parent 6eb4d37 commit 47b6876

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

reference/docs-conceptual/developer/format/how-to-create-a-formatting-file-format-ps1xml.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
description: How to Create a Formatting File (.format.ps1xml)
3-
ms.date: 08/23/2021
4-
title: How to Create a Formatting File (.format.ps1xml)
2+
description: How to Create a Formatting File (Format.ps1xml)
3+
ms.date: 12/26/2025
4+
title: How to Create a Formatting File (Format.ps1xml)
55
---
6-
# How to Create a Formatting File (.format.ps1xml)
6+
# How to Create a Formatting File (Format.ps1xml)
77

8-
This topic describes how to create a formatting file (.format.ps1xml).
8+
This topic describes how to create a formatting file (`Format.ps1xml`).
99

1010
> [!NOTE]
1111
> You can also create a formatting file by making a copy of one of the files provided by Windows
1212
> PowerShell. If you make a copy of an existing file, delete the existing digital signature, and add
1313
> your own signature to the new file.
1414
15-
## Create a .format.ps1xml file.
15+
## Create a Format.ps1xml file
1616

1717
1. Create a text file (.txt) using a text editor such as Notepad.
1818

@@ -34,7 +34,7 @@ This topic describes how to create a formatting file (.format.ps1xml).
3434

3535
1. Save the file to the Windows PowerShell installation folder, to your module folder, or to a
3636
subfolder of the module folder. Use the following name format when you save the file:
37-
`MyFile.format.ps1xml`. Formatting files must use the `.format.ps1xml` extension.
37+
`MyFile.Format.ps1xml`. Formatting files must use the `.ps1xml` extension.
3838

3939
You are now ready to add views to the formatting file. There is no limit to the number of views
4040
that can be defined in a formatting file. You can add a single view for each object, multiple

0 commit comments

Comments
 (0)