Skip to content

Commit

Permalink
Remove duplicate sentences in developer\format\creating-*.md (Microso…
Browse files Browse the repository at this point in the history
…ftDocs#2686)

* Remove duplicate sentences in developer\format\creating-*.md

* Fixing broken links in build

* Reverting one of the links

Cut and paste over one of the good links, reverting to the proper link (but leaving the other fixes)
  • Loading branch information
matt9ucci authored and DCtheGeek committed Jul 14, 2018
1 parent 5d265b3 commit 04906c9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion developer/format/creating-a-list-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ A list view displays data in a single column (in sequential order). The data dis

## A List View Display

The following output shows how Windows PowerShell displays the properties of [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects that are returned by the [Get-Service](/powershell/module/microsoft.powershell.management/get-service) cmdlet. In this example, three objects were returned, with each object separated from the preceding object by a blank line.
The following output shows how Windows PowerShell displays the properties of [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects that are returned by the [Get-Service](/powershell/module/microsoft.powershell.management/get-service) cmdlet. In this example, three objects were returned, with each object separated from the preceding object by a blank line.

```powershell
Expand Down
5 changes: 2 additions & 3 deletions developer/format/creating-a-table-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ A table view displays data in one or more columns. Each row in the table represe
## A Table View Display

The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController) object that is returned by the [Get-Service](/powershell/module/microsoft.powershell.management/get-service) cmdlet. For this object, Windows PowerShell has defined a table view that displays the `Status` property, the `Name` property (this property is an alias property for the `ServiceName` property), and the `DisplayName` property. Each row in the table represents an object returned by the cmdlet.
The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController) object that is returned by the [Get-Service](/powershell/module/Microsoft.PowerShell.Management/Get-Service) cmdlet. For this object, Windows PowerShell has defined a table view that displays the `Status` property, the `Name` property (this property is an alias property for the `ServiceName` property), and the `DisplayName` property. Each row in the table represents an object returned by the cmdlet.

```output
Status Name DisplayName
Expand Down Expand Up @@ -80,7 +79,7 @@ The following XML elements are used to define a list view:

- The [Controls](./controls-element-for-view-format.md) element (not shown in this example) defines the custom controls that are defined by the table view. Controls give you a way to further specify how the data is displayed. This element is optional. A view can define its own custom controls, or it can use common controls that can be used by any view in the formatting file. For more information about custom controls, see [Creating Custom Controls](./creating-custom-controls.md).

- The [HideTableHeaders](a20eaa3d-2bca-4a1f-8d40-fe038631d778HideTableHeaders) element (not show in this example) specifies that the table will not show any labels at the top of the table. This element is optional.
- The [HideTableHeaders](./hidetableheaders-element-format.md) element (not show in this example) specifies that the table will not show any labels at the top of the table. This element is optional.

- The [TableControl](./tablecontrol-element-format.md) element that defines the header and row information of the table. Similar to all other views, a table view can display the values of object properties or values generated by scripts.

Expand Down Expand Up @@ -133,7 +132,7 @@ The following XML elements can be used to provide definitions for a row:

- The [Wrap](./wrap-element-for-tablerowentry-for-tablecontrl-format.md) element specifies that text that exceeds the column width is displayed on the next line. By default, text that exceeds the column width is truncated.

- The [TableColumnItems](d2c1da6d-acc7-4fe8-9e7d-d43684ce-7c3d-4d14-8dbd-061c111ee805) element defines the properties or scripts whose values are displayed in the row.
- The [TableColumnItems](./tablecolumnitems-element-for-tablerowentry-for-tablecontrol-format.md) element defines the properties or scripts whose values are displayed in the row.

- The [TableColumnItem](./tablecolumnitem-element-for-tablecolumnitems-for-tablecontrol-format.md) element defines the property or script whose value is displayed in the column of the row. A [TableColumnItem](./tablecolumnitem-element-for-tablecolumnitems-for-tablecontrol-format.md) element is required for each column of the row. The first entry is displayed in first column, the second entry in the second column, and so on.

Expand Down
1 change: 0 additions & 1 deletion developer/format/creating-a-wide-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ A wide view displays a single value for each object that is displayed. The displ

## A Wide View Display

The following example shows how Windows PowerShell displays the [System.Diagnostics.Process](/dotnet/api/System.Diagnostics.Process) object that is returned by the [Get-Process](/powershell/module/Microsoft.PowerShell.Management/Get-Process) cmdlet when its output is piped to the [Format-Wide](/powershell/module/Microsoft.PowerShell.Utility/Format-Wide) cmdlet. (By default, the [Get-Process](/powershell/module/Microsoft.PowerShell.Management/Get-Process) cmdlet returns a table view.) In this example, the two columns are used to display the name of the process for each returned object. The name of the object's property is not displayed, only the value of the property.
The following example shows how Windows PowerShell displays the [System.Diagnostics.Process](/dotnet/api/System.Diagnostics.Process) object that is returned by the [Get-Process](/powershell/module/Microsoft.PowerShell.Management/Get-Process) cmdlet when its output is piped to the [Format-Wide](/powershell/module/Microsoft.PowerShell.Utility/Format-Wide) cmdlet. (By default, the [Get-Process](/powershell/module/Microsoft.PowerShell.Management/Get-Process) cmdlet returns a table view.) In this example, the two columns are used to display the name of the process for each returned object. The name of the object's property is not displayed, only the value of the property.

```
Expand Down

0 comments on commit 04906c9

Please sign in to comment.