@@ -41,7 +41,7 @@ have been imported into the current session, use the **ListImported** parameter.
4141
4242Without parameters, ` Get-Command ` gets all the cmdlets, functions, and aliases installed on the
4343computer. ` Get-Command * ` gets all types of commands, including all the non-PowerShell files in the
44- Path environment variable (` $env :PATH ` ), which it lists in the Application command type.
44+ PATH environment variable (` $Env :PATH ` ), which it lists in the Application command type.
4545
4646` Get-Command ` that uses the exact name of the command, without wildcard characters, automatically
4747imports the module that contains the command so that you can use the command immediately. To enable,
@@ -114,7 +114,7 @@ This command uses the **ArgumentList** and **Syntax** parameters to get the synt
114114the Certificate Provider adds to the session.
115115
116116``` powershell
117- Get-Command -Name Get-Childitem -Args Cert: -Syntax
117+ Get-Command -Name Get-ChildItem -Args Cert: -Syntax
118118```
119119
120120When you compare the syntax displayed in the output with the syntax that's displayed when you omit
@@ -154,7 +154,7 @@ cmdlet by another cmdlet or a provider.
154154### Example 8: Get all commands of all types
155155
156156This command gets all commands of all types on the local computer, including executable files in the
157- paths of the ** Path ** environment variable (` $env :PATH ` ).
157+ paths of the ** PATH ** environment variable (` $Env :PATH ` ).
158158
159159``` powershell
160160Get-Command *
@@ -262,7 +262,7 @@ code defines the **OutputType** attribute for the cmdlet.
262262### Example 14: Get cmdlets that take a specific object type as input
263263
264264``` powershell
265- Get-Command -ParameterType (((Get-NetAdapter)[0]).PSTypeNames )
265+ Get-Command -ParameterType (((Get-NetAdapter)[0]).pstypenames )
266266```
267267
268268``` Output
@@ -278,11 +278,11 @@ Function Set-NetAdapter NetAdapter
278278This command finds cmdlets that take net adapter objects as input. You can use this command format
279279to find the cmdlets that accept the type of objects that any command returns.
280280
281- The command uses the ** PSTypeNames ** intrinsic property of all objects, which gets the types that
282- describe the object. To get the ** PSTypeNames ** property of a net adapter, and not the
283- ** PSTypeNames ** property of a collection of net adapters, the command uses array notation to get the
284- first net adapter that the cmdlet returns. To get the ** PSTypeNames ** property of a net adapter, and
285- not the ** PSTypeNames ** property of a collection of net adapters, the command uses array notation to
281+ The command uses the ** pstypenames ** intrinsic property of all objects, which gets the types that
282+ describe the object. To get the ** pstypenames ** property of a net adapter, and not the
283+ ** pstypenames ** property of a collection of net adapters, the command uses array notation to get the
284+ first net adapter that the cmdlet returns. To get the ** pstypenames ** property of a net adapter, and
285+ not the ** pstypenames ** property of a collection of net adapters, the command uses array notation to
286286get the first net adapter that the cmdlet returns.
287287
288288## PARAMETERS
@@ -352,15 +352,15 @@ The acceptable values for this parameter are:
352352
353353- `All` : Gets all command types. This parameter value is the equivalent of `Get-Command *`.
354354
355- - `Application` : Searches folders in the `$env :PATH` environment variable for non-PowerShell
355+ - `Application` : Searches folders in the `$Env :PATH` environment variable for non-PowerShell
356356 executable files. On Windows, executable files have a file extension that is listed in the
357- ` $env :PATHEXT` environment variable. For more information, see
357+ ` $Env :PATHEXT` environment variable. For more information, see
358358 [about_Environment_Variables](About/about_Environment_Variables.md).
359359
360360- `Cmdlet` : Gets all cmdlets.
361361
362- - `ExternalScript` : Gets all `.ps1` files in the paths listed in the **Path ** environment variable
363- (`$env :PATH`).
362+ - `ExternalScript` : Gets all `.ps1` files in the paths listed in the **PATH ** environment variable
363+ (`$Env :PATH`).
364364
365365- `Filter` and `Function` : Gets all PowerShell advanced and simple functions and filters.
366366
0 commit comments