Skip to content

Commit

Permalink
Fix schema violation
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler committed Jan 9, 2025
1 parent 8aac8cb commit 589cbb4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
16 changes: 0 additions & 16 deletions reference/5.1/Microsoft.PowerShell.Utility/Import-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,22 +279,6 @@ ProjectID ProjectName H1 Completed
469 Marketing Europe False
```

The following command gets the **H1** property values and displays a warning.

```powershell
(Import-Csv -Path .\Projects.csv).H1
```

```Output
WARNING: One or more headers were not specified. Default names starting with "H" have been used in
place of any missing headers.
Redmond
FarEast
Europe
```

To create your `Projects.csv` file, use the values shown in the example's `Get-Content` output.

The `Get-Content` cmdlet displays the `Projects.csv` file. The header row is missing a value between
**ProjectName** and **Completed**. The `Import-Csv` cmdlet imports the `Projects.csv` file and
displays a warning message because **H1** is a default header name.
Expand Down
16 changes: 0 additions & 16 deletions reference/7.4/Microsoft.PowerShell.Utility/Import-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,22 +292,6 @@ ProjectID ProjectName H1 Completed
469 Marketing Europe False
```

The following command gets the **H1** property values and displays a warning.

```powershell
(Import-Csv -Path .\Projects.csv).H1
```

```Output
WARNING: One or more headers were not specified. Default names starting with "H" have been used in
place of any missing headers.
Redmond
FarEast
Europe
```

To create your `Projects.csv` file, use the values shown in the example's `Get-Content` output.

The `Get-Content` cmdlet displays the `Projects.csv` file. The header row is missing a value between
**ProjectName** and **Completed**. The `Import-Csv` cmdlet imports the `Projects.csv` file and
displays a warning message because **H1** is a default header name.
Expand Down
16 changes: 0 additions & 16 deletions reference/7.5/Microsoft.PowerShell.Utility/Import-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,22 +292,6 @@ ProjectID ProjectName H1 Completed
469 Marketing Europe False
```

The following command gets the **H1** property values and displays a warning.

```powershell
(Import-Csv -Path .\Projects.csv).H1
```

```Output
WARNING: One or more headers were not specified. Default names starting with "H" have been used in
place of any missing headers.
Redmond
FarEast
Europe
```

To create your `Projects.csv` file, use the values shown in the example's `Get-Content` output.

The `Get-Content` cmdlet displays the `Projects.csv` file. The header row is missing a value between
**ProjectName** and **Completed**. The `Import-Csv` cmdlet imports the `Projects.csv` file and
displays a warning message because **H1** is a default header name.
Expand Down

0 comments on commit 589cbb4

Please sign in to comment.