Skip to content

Commit 57bcd92

Browse files
committed
Fix MD warnings
1 parent 228be72 commit 57bcd92

File tree

15 files changed

+21
-21
lines changed

15 files changed

+21
-21
lines changed

reference/7.5/Microsoft.PowerShell.Core/About/about_Command_Syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The syntax diagrams use the following symbols:
166166

167167
The placeholder inside the angle brackets identifies the .NET type of the
168168
value that a parameter takes. For example, to use the **Name** parameter of
169-
the `Get-Command ` cmdlet, you replace the `<string[]>` with one or more
169+
the `Get-Command` cmdlet, you replace the `<string[]>` with one or more
170170
strings separated by commas (`,`).
171171

172172
<!-- `[]` - also known as binkies -->

reference/7.5/Microsoft.PowerShell.Core/About/about_Functions_Advanced_Parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ Both arguments are optional. If you don't specify any arguments, then
659659

660660
### PSTypeName attribute
661661

662-
You can't use extended type names in a type declaration. The *PSTypeName**
662+
You can't use extended type names in a type declaration. The **PSTypeName**
663663
attribute allows you to restrict the type of the parameter to the extended
664664
type.
665665

reference/7.5/Microsoft.PowerShell.Core/About/about_If.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ $service.Status -eq 'Running' ? (Stop-Service $service) : (Start-Service $servic
133133
In this example, if the service is running, it's stopped, and if its status is
134134
not **Running**, it's started.
135135

136-
137136
If a `<condition>`, `<if-true>`, or `<if-false>` expression calls a command,
138137
you must wrap it in parentheses. If you don't, PowerShell raises an argument
139138
exception for the command in the `<condition>` expression and parsing

reference/7.5/Microsoft.PowerShell.Core/About/about_Path_Syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The following examples are based on the current working directory being set to
8787
When using a path in a command, you can use a fully qualified path or a
8888
relative one. For example, suppose that your current working directory is
8989
`C:\Windows`. The following `Get-ChildItem` command retrieves all items in the
90-
`C:\TechDocs `directory:
90+
`C:\TechDocs` directory:
9191

9292
```powershell
9393
Get-ChildItem \TechDocs

reference/7.5/Microsoft.PowerShell.Core/About/about_Providers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ drive:\location\child-location\...
233233
```
234234

235235
For example, to change your location to the `HKLM\Software` registry key, type
236-
a `Set-Location `command, such as:
236+
a `Set-Location` command, such as:
237237

238238
```powershell
239239
Set-Location HKLM:\SOFTWARE\

reference/7.5/Microsoft.PowerShell.Core/About/about_Ref.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ of a variable that is passed to it.
1616

1717
## Long description
1818

19-
You can pass variables to functions *by reference* or *by value*.
19+
You can pass variables to functions _by reference_ or _by value_.
2020

21-
When you pass a variable *by value*, you are passing a copy of the data.
21+
When you pass a variable _by value_, you are passing a copy of the data.
2222

2323
In the following example, the function changes the value of the variable passed
2424
to it. In PowerShell, integers are value types so they are passed by value.
@@ -41,9 +41,9 @@ $var
4141

4242
In the following example, a variable containing a `Hashtable` is passed to a
4343
function. `Hashtable` is an object type so by default it is passed to the
44-
function *by reference*.
44+
function _by reference_.
4545

46-
When passing a variable *by reference*, the function can change the data and
46+
When passing a variable _by reference_, the function can change the data and
4747
that change persists after the function executes.
4848

4949
```powershell

reference/7.5/Microsoft.PowerShell.Diagnostics/Get-WinEvent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ from newest to oldest.
500500

501501
Event Tracing for Windows (ETW) writes events to the log as events occur. The events are stored in
502502
the order of oldest to newest. An archived ETW file is saved as an `.etl` such as **TraceLog.etl**.
503-
The events are listed in the order in which they are written to the log, so the *Oldest* parameter
503+
The events are listed in the order in which they are written to the log, so the `Oldest` parameter
504504
is required.
505505

506506
```powershell

reference/7.5/Microsoft.PowerShell.Management/Join-Path.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ In this example, no parameter names are used, thus "a" binds to `Path`, "b" to `
140140

141141
### -AdditionalChildPath
142142

143-
Specifies additional elements to append to the value of the *Path* parameter. The `ChildPath`
143+
Specifies additional elements to append to the value of the `Path` parameter. The `ChildPath`
144144
parameter is still mandatory and must be specified as well.
145145

146146
This parameter is specified with the `ValueFromRemainingArguments` property which enables

reference/7.5/Microsoft.PowerShell.Management/Set-Item.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Forces the cmdlet to set items that cannot otherwise be changed, such as read-on
171171
variables. The cmdlet cannot change constant aliases or variables.
172172
Implementation varies from provider to provider.
173173
For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
174-
Even using the *Force* parameter, the cmdlet cannot override security restrictions.
174+
Even using the `Force` parameter, the cmdlet cannot override security restrictions.
175175

176176
```yaml
177177
Type: System.Management.Automation.SwitchParameter

reference/7.5/Microsoft.PowerShell.Security/Set-ExecutionPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ policy. The policy is set for the default scope, `LocalMachine`.
235235
The `Get-ExecutionPolicy` cmdlet shows that `RemoteSigned` is the effective execution policy for
236236
the current PowerShell session.
237237

238-
The `Start-ActivityTracker.ps1 script is executed from the current directory. The script is blocked
238+
The `Start-ActivityTracker.ps1` script is executed from the current directory. The script is blocked
239239
by `RemoteSigned` because the script isn't digitally signed.
240240

241241
For this example, the script's code was reviewed and verified as safe to run. The `Unblock-File`

0 commit comments

Comments
 (0)