Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions reference/5.1/Microsoft.PowerShell.Core/Clear-Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/31/2022
ms.date: 08/29/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/functions/clear-host?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Clear-Host
Expand Down Expand Up @@ -37,10 +37,8 @@ might work differently in different host programs.

### Example 1

```
# Before

PS C:\> Get-Process
```powershell
PS> Get-Process

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
Expand All @@ -65,10 +63,10 @@ Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
258 15 6804 12156 50 2.65 536 services
...

PS C:\> cls
#After
PS> cls


PS C:>
PS>
```

This command uses the `cls` alias of `Clear-Host` to clear the current display.
Expand Down
14 changes: 6 additions & 8 deletions reference/7.2/Microsoft.PowerShell.Core/Clear-Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/31/2022
ms.date: 08/29/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/clear-host?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Clear-Host
Expand Down Expand Up @@ -37,10 +37,8 @@ might work differently in different host programs.

### Example 1

```
# Before

PS C:\> Get-Process
```powershell
PS> Get-Process

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
Expand All @@ -65,10 +63,10 @@ Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
258 15 6804 12156 50 2.65 536 services
...

PS C:\> cls
#After
PS> cls


PS C:>
PS>
```

This command uses the `cls` alias of `Clear-Host` to clear the current display.
Expand Down
14 changes: 6 additions & 8 deletions reference/7.3/Microsoft.PowerShell.Core/Clear-Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/31/2022
ms.date: 08/29/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/clear-host?view=powershell-7.3&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Clear-Host
Expand Down Expand Up @@ -37,10 +37,8 @@ might work differently in different host programs.

### Example 1

```
# Before

PS C:\> Get-Process
```powershell
PS> Get-Process

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
Expand All @@ -65,10 +63,10 @@ Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
258 15 6804 12156 50 2.65 536 services
...

PS C:\> cls
#After
PS> cls


PS C:>
PS>
```

This command uses the `cls` alias of `Clear-Host` to clear the current display.
Expand Down
14 changes: 6 additions & 8 deletions reference/7.4/Microsoft.PowerShell.Core/Clear-Host.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: System.Management.Automation.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Core
ms.date: 12/31/2022
ms.date: 08/29/2023
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/clear-host?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Clear-Host
Expand Down Expand Up @@ -37,10 +37,8 @@ might work differently in different host programs.

### Example 1

```
# Before

PS C:\> Get-Process
```powershell
PS> Get-Process

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
Expand All @@ -65,10 +63,10 @@ Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
258 15 6804 12156 50 2.65 536 services
...

PS C:\> cls
#After
PS> cls


PS C:>
PS>
```

This command uses the `cls` alias of `Clear-Host` to clear the current display.
Expand Down