|
1 | 1 | ---
|
2 | 2 | description: Describes the built-in functions in PowerShell.
|
3 | 3 | Locale: en-US
|
4 |
| -ms.date: 01/03/2023 |
| 4 | +ms.date: 07/17/2023 |
5 | 5 | online version: https://learn.microsoft.com/powershell/module/Microsoft.PowerShell.Core/about/about_built-in_functions?view=powershell-5.1&WT.mc_id=ps-gethelp
|
6 | 6 | schema: 2.0.0
|
7 | 7 | title: about Built-in Functions
|
@@ -33,49 +33,53 @@ In the Windows CMD shell it's common to run the `cd` command without any spaces
|
33 | 33 | between the command and the destination path. This function runs
|
34 | 34 | `Set-Location \` to change to the root folder.
|
35 | 35 |
|
36 |
| -## `ImportSystemModules` |
| 36 | +## `Clear-Host` |
37 | 37 |
|
38 |
| -This function has been deprecated. It is an empty function that does nothing. |
| 38 | +This function clears the screen. For more information, see |
| 39 | +[Clear-Host](xref:Microsoft.PowerShell.Core.Clear-Host). |
39 | 40 |
|
40 |
| -## `Pause` |
| 41 | +## `Get-Verb` |
41 | 42 |
|
42 |
| -This function replicates the behavior of CMD's `pause` command. The script |
43 |
| -pauses execution and prompts the user to hit a key to continue. |
| 43 | +This function lists PowerShell verbs and the category group they belong to. For |
| 44 | +more information, see [Get-Verb](xref:Microsoft.PowerShell.Core.Get-Verb) |
44 | 45 |
|
45 | 46 | ## `help`
|
46 | 47 |
|
47 | 48 | This function invokes `Get-Help` with your parameters and passes the output to
|
48 | 49 | the systems pager command, `more.com`.
|
49 | 50 |
|
50 |
| -## `prompt` |
51 |
| - |
52 |
| -This is the function that creates the default prompt for the PowerShell command |
53 |
| -line. You can customize your prompt by overriding this function with your own. |
54 |
| -For more information see [about_Prompts](about_Prompts.md). |
55 |
| - |
56 |
| -## `Clear-Host` |
| 51 | +## `ImportSystemModules` |
57 | 52 |
|
58 |
| -This function clears the screen. For more information, see |
59 |
| -[Clear-Host](xref:Microsoft.PowerShell.Core.Clear-Host). |
| 53 | +This function has been deprecated. It is an empty function that does nothing. |
60 | 54 |
|
61 |
| -## `TabExpansion2` |
| 55 | +## `mkdir` |
62 | 56 |
|
63 |
| -This is the default function to use for tab expansion. |
| 57 | +This function provides a short hand way to run `New-Item -Type Directory` with |
| 58 | +your parameters. |
64 | 59 |
|
65 |
| -## `Get-Verb` |
| 60 | +## `more` |
66 | 61 |
|
67 |
| -This function lists PowerShell verbs and the category group they belong to. For |
68 |
| -more information, see [Get-Verb](xref:Microsoft.PowerShell.Core.Get-Verb) |
| 62 | +This function is a wrapper around the `more.com` native command. |
69 | 63 |
|
70 | 64 | ## `oss`
|
71 | 65 |
|
72 | 66 | This function provides a short hand way to run `Out-String -Stream` in a
|
73 | 67 | pipeline.
|
74 | 68 |
|
75 |
| -## `mkdir` |
| 69 | +## `Pause` |
76 | 70 |
|
77 |
| -This function provides a short hand way to run `New-Item -Type Directory` with |
78 |
| -your parameters. |
| 71 | +This function replicates the behavior of CMD's `pause` command. The script |
| 72 | +pauses execution and prompts the user to hit a key to continue. |
| 73 | + |
| 74 | +## `prompt` |
| 75 | + |
| 76 | +This is the function that creates the default prompt for the PowerShell command |
| 77 | +line. You can customize your prompt by overriding this function with your own. |
| 78 | +For more information see [about_Prompts](about_Prompts.md). |
| 79 | + |
| 80 | +## `TabExpansion2` |
| 81 | + |
| 82 | +This is the default function to use for tab expansion. |
79 | 83 |
|
80 | 84 | ## Windows drive letter functions
|
81 | 85 |
|
|
0 commit comments