Skip to content

Commit 10b6653

Browse files
Fix incorrect case/capitalization in ref docs
This ensures the following components have the correct/consistent case throughout the reference documentation: Preference variable, PS environment variable, PS drive, PS provider, PS command name, PS command argument, PS module, PS file extension, PS host name/application, #Requires statement, parameter name, about_* topic, member name, scope modifier, keyword, operator, calculated property key/value, attribute, type accelerator, type literal/name, WMI namespace/class, variable name, special character, comment-based help keyword, product/company name, Windows drive letter/directory, Windows/Unix environment variable In addition, changes include fixes to incorrect terminology (e.g., referring to a keyword as a command) and formatting of PS syntax elements (non-exhaustive).
1 parent 683ebdf commit 10b6653

40 files changed

+481
-480
lines changed

reference/docs-conceptual/developer/prog-guide/runspace10-code-sample.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: RunSpace10 Code Sample
77
# RunSpace10 Code Sample
88

99
Here is the source code for the Runspace10 sample. This sample application adds a cmdlet to
10-
[System.Management.Automation.Runspaces.Runspaceconfiguration](/dotnet/api/System.Management.Automation.Runspaces.RunspaceConfiguration)
10+
[System.Management.Automation.Runspaces.RunspaceConfiguration](/dotnet/api/System.Management.Automation.Runspaces.RunspaceConfiguration)
1111
and then uses the modified configuration information to create the runspace.
1212

1313
> [!NOTE]

reference/docs-conceptual/developer/prog-guide/stopprocesssample04-vb-net-sample-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Namespace Microsoft.Samples.PowerShell.Commands
2929
#Region "StopProcCommand"
3030

3131
''' <summary>
32-
''' Class that implements the stop-proc cmdlet.
32+
''' Class that implements the Stop-Proc cmdlet.
3333
''' </summary>
3434
<Cmdlet(VerbsLifecycle.Stop, "Proc", DefaultParameterSetName:="ProcessId", _
3535
SupportsShouldProcess:=True)> _
@@ -454,7 +454,7 @@ ContinueForEach1:
454454
Public Overrides ReadOnly Property Description() As String
455455
Get
456456
Return "This is a PowerShell snap-in that includes " & _
457-
"the stop-proc cmdlet."
457+
"the Stop-Proc cmdlet."
458458
End Get
459459
End Property
460460
End Class 'StopProcPSSnapIn04

reference/docs-conceptual/developer/prog-guide/windows-powershell-programmer-s-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ PowerShell runtime processes all command types just as it does cmdlets, using pi
3939

4040
In addition to commands, Windows PowerShell supports various customizable Windows PowerShell
4141
providers that make available specific sets of cmdlets. The shell operates within the Windows
42-
PowerShell-provided host application (Windows PowerShell.exe), but it is equally accessible from a
42+
PowerShell-provided host application (`powershell.exe`), but it is equally accessible from a
4343
custom host application that you can develop to meet specific requirements. For more information,
4444
see [How Windows PowerShell Works](/previous-versions//ms714658(v=vs.85)).
4545

reference/docs-conceptual/developer/prog-guide/windows-powershell-sample-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ code that is contained in the Windows SDK samples.
3434
| [StopProc01 Code Samples](./stopproc01-code-samples.md) | This is the `Stop-Process` cmdlet sample described in [Creating a Cmdlet That Modifies the System](../cmdlet/creating-a-cmdlet-that-modifies-the-system.md). |
3535
| [StopProcessSample04 Code Samples](./stopprocesssample04-code-samples.md) | This is the `Stop-Process` cmdlet sample described in [Adding Parameter Sets to a Cmdlet](../cmdlet/adding-parameter-sets-to-a-cmdlet.md). |
3636
| [Runspace01 Code Samples](./runspace01-code-samples.md) | These are the code samples for the runspace described in [Creating a Console Application That Runs a Specified Command](/dotnet/csharp/programming-guide/inside-a-program/hello-world-your-first-program). |
37-
| [Runspace02 Code Samples](./runspace02-code-samples.md) | This sample uses the [System.Management.Automation.Runspaceinvoke](/dotnet/api/System.Management.Automation.RunspaceInvoke) class to execute the `Get-Process` cmdlet synchronously. |
37+
| [Runspace02 Code Samples](./runspace02-code-samples.md) | This sample uses the [System.Management.Automation.RunspaceInvoke](/dotnet/api/System.Management.Automation.RunspaceInvoke) class to execute the `Get-Process` cmdlet synchronously. |
3838
| [RunSpace03 Code Samples](./runspace03-code-samples.md) | These are the code samples for the runspace described in "Creating a Console Application That Runs a Specified Script". |
39-
| [RunSpace04 Code Samples](./runspace04-code-samples.md) | This is a code sample for a runspace that uses the [System.Management.Automation.Runspaceinvoke](/dotnet/api/System.Management.Automation.RunspaceInvoke) class to execute a script that generates a terminating error. |
39+
| [RunSpace04 Code Samples](./runspace04-code-samples.md) | This is a code sample for a runspace that uses the [System.Management.Automation.RunspaceInvoke](/dotnet/api/System.Management.Automation.RunspaceInvoke) class to execute a script that generates a terminating error. |
4040
| [RunSpace05 Code Sample](./runspace05-code-sample.md) | |
4141
| [RunSpace06 Code Sample](./runspace06-code-sample.md) | |
4242
| [RunSpace07 Code Sample](./runspace07-code-sample.md) | |
4343
| [RunSpace08 Code Sample](./runspace08-code-sample.md) | |
4444
| [RunSpace09 Code Sample](./runspace09-code-sample.md) | |
45-
| [RunSpace10 Code Sample](./runspace10-code-sample.md) | This is the source code for the Runspace10 sample, which adds a cmdlet to [System.Management.Automation.Runspaces.Runspaceconfiguration](/dotnet/api/System.Management.Automation.Runspaces.RunspaceConfiguration) and then uses the modified configuration information to create the runspace. |
45+
| [RunSpace10 Code Sample](./runspace10-code-sample.md) | This is the source code for the Runspace10 sample, which adds a cmdlet to [System.Management.Automation.Runspaces.RunspaceConfiguration](/dotnet/api/System.Management.Automation.Runspaces.RunspaceConfiguration) and then uses the modified configuration information to create the runspace. |
4646

4747
## See Also
4848

reference/docs-conceptual/developer/provider/accessdbprovidersample01.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: AccessDBProviderSample01
77
# AccessDBProviderSample01
88

99
This sample shows how to declare a provider class that derives directly from the
10-
[System.Management.Automation.Provider.Cmdletprovider](/dotnet/api/System.Management.Automation.Provider.CmdletProvider)
10+
[System.Management.Automation.Provider.CmdletProvider](/dotnet/api/System.Management.Automation.Provider.CmdletProvider)
1111
class. It is included here only for completeness.
1212

1313
## Demonstrates
@@ -16,9 +16,9 @@ class. It is included here only for completeness.
1616
> Your provider class will most likely derive from one of the following classes and possibly
1717
> implement other provider interfaces:
1818
>
19-
> - [System.Management.Automation.Provider.Itemcmdletprovider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider) class. See [AccessDBProviderSample03](./accessdbprovidersample03.md).
20-
> - [System.Management.Automation.Provider.Containercmdletprovider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider) class. See [AccessDBProviderSample04](./accessdbprovidersample04.md).
21-
> - [System.Management.Automation.Provider.Navigationcmdletprovider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider) class. See [AccessDBProviderSample05](./accessdbprovidersample05.md).
19+
> - [System.Management.Automation.Provider.ItemCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider) class. See [AccessDBProviderSample03](./accessdbprovidersample03.md).
20+
> - [System.Management.Automation.Provider.ContainerCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider) class. See [AccessDBProviderSample04](./accessdbprovidersample04.md).
21+
> - [System.Management.Automation.Provider.NavigationCmdletProvider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider) class. See [AccessDBProviderSample05](./accessdbprovidersample05.md).
2222
>
2323
> For more information about choosing which provider class to derive from based on provider
2424
> features, see [Designing Your Windows PowerShell Provider](./provider-types.md).
@@ -28,7 +28,7 @@ This sample demonstrates the following:
2828
- Declaring the `CmdletProvider` attribute.
2929

3030
- Defining a provider class that derives directly from the
31-
[System.Management.Automation.Provider.Cmdletprovider](/dotnet/api/System.Management.Automation.Provider.CmdletProvider)
31+
[System.Management.Automation.Provider.CmdletProvider](/dotnet/api/System.Management.Automation.Provider.CmdletProvider)
3232
class.
3333

3434
## Example
@@ -39,10 +39,10 @@ This sample shows how to define a provider class and how to declare the `CmdletP
3939

4040
## See Also
4141

42-
[System.Management.Automation.Provider.Itemcmdletprovider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider)
42+
[System.Management.Automation.Provider.ItemCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider)
4343

44-
[System.Management.Automation.Provider.Containercmdletprovider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider)
44+
[System.Management.Automation.Provider.ContainerCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider)
4545

46-
[System.Management.Automation.Provider.Navigationcmdletprovider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider)
46+
[System.Management.Automation.Provider.NavigationCmdletProvider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider)
4747

4848
[Designing Your Windows PowerShell Provider](./provider-types.md)

reference/docs-conceptual/developer/provider/accessdbprovidersample02.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ title: AccessDBProviderSample02
77
# AccessDBProviderSample02
88

99
This sample shows how to overwrite the
10-
[System.Management.Automation.Provider.Drivecmdletprovider.Newdrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.NewDrive)
10+
[System.Management.Automation.Provider.DriveCmdletProvider.NewDrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.NewDrive)
1111
and
12-
[System.Management.Automation.Provider.Drivecmdletprovider.Removedrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive)
12+
[System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive)
1313
methods to support calls to the `New-PSDrive` and `Remove-PSDrive` cmdlets. The provider class in
1414
this sample derives from the
15-
[System.Management.Automation.Provider.Drivecmdletprovider](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider)
15+
[System.Management.Automation.Provider.DriveCmdletProvider](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider)
1616
class.
1717

1818
## Demonstrates
@@ -21,9 +21,9 @@ class.
2121
> Your provider class will most likely derive from one of the following classes and possibly
2222
> implement other provider interfaces:
2323
>
24-
> - [System.Management.Automation.Provider.Itemcmdletprovider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider) class. See [AccessDBProviderSample03](./accessdbprovidersample03.md).
25-
> - [System.Management.Automation.Provider.Containercmdletprovider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider) class. See [AccessDBProviderSample04](./accessdbprovidersample04.md).
26-
> - [System.Management.Automation.Provider.Navigationcmdletprovider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider) class. See [AccessDBProviderSample05](./accessdbprovidersample05.md).
24+
> - [System.Management.Automation.Provider.ItemCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider) class. See [AccessDBProviderSample03](./accessdbprovidersample03.md).
25+
> - [System.Management.Automation.Provider.ContainerCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider) class. See [AccessDBProviderSample04](./accessdbprovidersample04.md).
26+
> - [System.Management.Automation.Provider.NavigationCmdletProvider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider) class. See [AccessDBProviderSample05](./accessdbprovidersample05.md).
2727
>
2828
> For more information about choosing which provider class to derive from based on provider
2929
> features, see [Designing Your Windows PowerShell Provider](./provider-types.md).
@@ -33,35 +33,35 @@ This sample demonstrates the following:
3333
- Declaring the `CmdletProvider` attribute.
3434

3535
- Defining a provider class that drives from the
36-
[System.Management.Automation.Provider.Drivecmdletprovider](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider)
36+
[System.Management.Automation.Provider.DriveCmdletProvider](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider)
3737
class.
3838

3939
- Overwriting the
40-
[System.Management.Automation.Provider.Drivecmdletprovider.Newdrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.NewDrive)
40+
[System.Management.Automation.Provider.DriveCmdletProvider.NewDrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.NewDrive)
4141
method to support creating new drives. (This sample does not show how to add dynamic parameters to
4242
the `New-PSDrive` cmdlet.)
4343

4444
- Overwriting the
45-
[System.Management.Automation.Provider.Drivecmdletprovider.Removedrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive)
45+
[System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive)
4646
method to support removing existing drives.
4747

4848
## Example
4949

5050
This sample shows how to overwrite the
51-
[System.Management.Automation.Provider.Drivecmdletprovider.Newdrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.NewDrive)
51+
[System.Management.Automation.Provider.DriveCmdletProvider.NewDrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.NewDrive)
5252
and
53-
[System.Management.Automation.Provider.Drivecmdletprovider.Removedrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive)
53+
[System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive*](/dotnet/api/System.Management.Automation.Provider.DriveCmdletProvider.RemoveDrive)
5454
methods. For this sample provider, when a drive is created its connection information is stored in
5555
an `AccessDBPsDriveInfo` object.
5656

5757
:::code language="csharp" source="~/../powershell-sdk-samples/SDK-2.0/csharp/AccessDBProviderSample02/AccessDBProviderSample02.cs" range="11-154":::
5858

5959
## See Also
6060

61-
[System.Management.Automation.Provider.Itemcmdletprovider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider)
61+
[System.Management.Automation.Provider.ItemCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ItemCmdletProvider)
6262

63-
[System.Management.Automation.Provider.Containercmdletprovider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider)
63+
[System.Management.Automation.Provider.ContainerCmdletProvider](/dotnet/api/System.Management.Automation.Provider.ContainerCmdletProvider)
6464

65-
[System.Management.Automation.Provider.Navigationcmdletprovider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider)
65+
[System.Management.Automation.Provider.NavigationCmdletProvider](/dotnet/api/System.Management.Automation.Provider.NavigationCmdletProvider)
6666

6767
[Designing Your Windows PowerShell Provider](./provider-types.md)

0 commit comments

Comments
 (0)