Skip to content

Commit c047479

Browse files
ArieHeinsdwheeler
authored andcommitted
Markdown and PS Styles
1 parent a474ee9 commit c047479

18 files changed

+81
-58
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ Accept wildcard characters: True
440440
Prompts you for confirmation before running the cmdlet. For more information, see the following
441441
articles:
442442

443-
- [about_Preference_Variables](../microsoft.powershell.core/about/about_preference_variables.md#confirmpreference)
444-
- [about_Functions_CmdletBindingAttribute](../microsoft.powershell.core/about/about_functions_cmdletbindingattribute.md?#confirmimpact)
443+
- [about_Preference_Variables](../microsoft.powershell.core/About/about_Preference_Variables.md#confirmpreference)
444+
- [about_Functions_CmdletBindingAttribute](../microsoft.powershell.core/About/about_Functions_CmdletBindingAttribute.md?#confirmimpact)
445445

446446
```yaml
447447
Type: System.Management.Automation.SwitchParameter
@@ -533,6 +533,6 @@ design.
533533

534534
[about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md)
535535

536-
[about_Preference_Variables](../microsoft.powershell.core/about/about_preference_variables.md#confirmpreference)
536+
[about_Preference_Variables](../microsoft.powershell.core/About/about_Preference_Variables.md#confirmpreference)
537537

538-
[about_Functions_CmdletBindingAttribute](../microsoft.powershell.core/about/about_functions_cmdletbindingattribute.md?#confirmimpact)
538+
[about_Functions_CmdletBindingAttribute](../microsoft.powershell.core/About/about_Functions_CmdletBindingAttribute.md?#confirmimpact)

reference/7.5/Microsoft.PowerShell.Management/Remove-ItemProperty.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,13 @@ Accept wildcard characters: True
124124

125125
### -Filter
126126

127-
Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md)
128-
provider is the only installed PowerShell provider that supports the use of filters. You can find
129-
the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md).
130-
Filters are more efficient than other parameters, because the provider applies them when the cmdlet
131-
gets the objects rather than having PowerShell filter the objects after they are retrieved.
127+
Specifies a filter to qualify the **Path** parameter. The
128+
[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only
129+
installed PowerShell provider that supports the use of filters. You can find the syntax for the
130+
**FileSystem** filter language in
131+
[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient
132+
than other parameters, because the provider applies them when the cmdlet gets the objects rather
133+
than having PowerShell filter the objects after they are retrieved.
132134

133135
```yaml
134136
Type: System.String
@@ -187,7 +189,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c
187189
it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
188190
as escape sequences.
189191

190-
For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
192+
For more information, see
193+
[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
191194

192195
```yaml
193196
Type: System.String[]

reference/7.5/Microsoft.PowerShell.Management/Rename-Computer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ WSMan protocol. The acceptable values for this parameter are:
215215

216216
The default value is **Default**.
217217

218-
For more information about the values of this parameter, see [AuthenticationMechanism Enumeration](/dotnet/api/system.management.automation.runspaces.authenticationmechanism).
218+
For more information about the values of this parameter, see
219+
[AuthenticationMechanism Enumeration](/dotnet/api/system.management.automation.runspaces.authenticationmechanism).
219220

220221
> [!WARNING]
221222
> Credential Security Service Provider (CredSSP) authentication, in which the user

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Use the `Move-Item` cmdlet, instead.
7272

7373
### Example 3: Rename a registry key
7474

75-
This example renames a registry key from **Advertising** to **Marketing**. When the command is complete,
76-
the key is renamed, but the registry entries in the key are unchanged.
75+
This example renames a registry key from **Advertising** to **Marketing**. When the command is
76+
complete, the key is renamed, but the registry entries in the key are unchanged.
7777

7878
```powershell
7979
Rename-Item -Path "HKLM:\Software\MyCompany\Advertising" -NewName "Marketing"
@@ -127,7 +127,8 @@ sensitive.
127127

128128
> [!NOTE]
129129
> This parameter is not supported by any providers installed with PowerShell. To impersonate another
130-
> user, or elevate your credentials when running this cmdlet, use [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
130+
> user, or elevate your credentials when running this cmdlet, use
131+
> [Invoke-Command](../Microsoft.PowerShell.Core/Invoke-Command.md).
131132
132133
```yaml
133134
Type: System.Management.Automation.PSCredential
@@ -145,7 +146,8 @@ Accept wildcard characters: False
145146
146147
Forces the cmdlet to rename items that can't otherwise be changed, such as hidden or read-only files
147148
or read-only aliases or variables. The cmdlet can't change constant aliases or variables.
148-
Implementation varies from provider to provider. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
149+
Implementation varies from provider to provider. For more information, see
150+
[about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
149151
150152
Even using the **Force** parameter, the cmdlet can't override security restrictions.
151153
@@ -168,7 +170,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c
168170
it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
169171
as escape sequences.
170172
171-
For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
173+
For more information, see
174+
[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
172175
173176
```yaml
174177
Type: System.String
@@ -190,7 +193,8 @@ To rename and move an item, use `Move-Item`.
190193

191194
You can't use wildcard characters in the value of the **NewName** parameter. To specify a name for
192195
multiple files, use the **Replace** operator in a regular expression. For more information about the
193-
Replace operator, see [about_Comparison_Operators](../Microsoft.PowerShell.Core/About/about_Comparison_Operators.md).
196+
Replace operator, see
197+
[about_Comparison_Operators](../Microsoft.PowerShell.Core/About/about_Comparison_Operators.md).
194198

195199
```yaml
196200
Type: System.String
@@ -274,7 +278,8 @@ Accept wildcard characters: False
274278

275279
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
276280
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
277-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
281+
-WarningAction, and -WarningVariable. For more information, see
282+
[about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
278283

279284
## INPUTS
280285

@@ -302,7 +307,8 @@ PowerShell includes the following aliases for `Rename-Item`:
302307
- `rni`
303308

304309
`Rename-Item` is designed to work with the data exposed by any provider. To list the providers
305-
available in your session, type `Get-PsProvider`. For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
310+
available in your session, type `Get-PsProvider`. For more information, see
311+
[about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
306312

307313
## RELATED LINKS
308314

reference/7.5/Microsoft.PowerShell.Management/Rename-ItemProperty.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,13 @@ Accept wildcard characters: True
9191

9292
### -Filter
9393

94-
Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md)
95-
provider is the only installed PowerShell provider that supports the use of filters. You can find
96-
the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md).
97-
Filters are more efficient than other parameters, because the provider applies them when the cmdlet
98-
gets the objects rather than having PowerShell filter the objects after they are retrieved.
94+
Specifies a filter to qualify the **Path** parameter.
95+
The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the
96+
only installed PowerShell provider that supports the use of filters. You can find the syntax for the
97+
**FileSystem** filter language in
98+
[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient
99+
than other parameters, because the provider applies them when the cmdlet gets the objects rather
100+
than having PowerShell filter the objects after they are retrieved.
99101

100102
```yaml
101103
Type: System.String
@@ -154,7 +156,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c
154156
it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
155157
as escape sequences.
156158

157-
For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
159+
For more information, see
160+
[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
158161

159162
```yaml
160163
Type: System.String

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ The `*-Path` cmdlets work with the **FileSystem**, **Registry**, and **Certifica
316316
317317
`Resolve-Path` is designed to work with any provider. To list the providers available in your
318318
session, type `Get-PSProvider`. For more information, see
319-
[about_providers](../microsoft.powershell.core/about/about_providers.md).
319+
[about_Providers](../microsoft.powershell.core/About/about_Providers.md).
320320
321321
`Resolve-Path` only resolves existing paths. It cannot be used to resolve a location that does not
322322
exist yet.

reference/7.5/Microsoft.PowerShell.Management/Restart-Computer.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ Accept wildcard characters: False
355355

356356
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
357357
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
358-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
358+
-WarningAction, and -WarningVariable. For more information, see
359+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
359360

360361
## INPUTS
361362

@@ -371,10 +372,12 @@ This cmdlet returns no output.
371372

372373
## NOTES
373374

374-
- In Windows, `Restart-Computer` uses the [Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
375-
of the Windows Management Instrumentation (WMI) [Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem)
376-
class. This method requires the **SeShutdownPrivilege** privilege be enabled for the user account
377-
used to restart the machine.
375+
- In Windows, `Restart-Computer` uses the
376+
[Win32Shutdown method](/windows/desktop/CIMWin32Prov/win32shutdown-method-in-class-win32-operatingsystem)
377+
of the Windows Management Instrumentation (WMI)
378+
[Win32_OperatingSystem](/windows/desktop/CIMWin32Prov/win32-operatingsystem) class. This method
379+
requires the **SeShutdownPrivilege** privilege be enabled for the user account used to restart
380+
the machine.
378381
- On Linux and Mac OS, `Restart-Computer` uses the `/sbin/shutdown` bash tool.
379382

380383
## RELATED LINKS

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ $PSDefaultParameterValues['Set-Clipboard:AsOSC52'] = $env:SSH_TTY
6868
```
6969

7070
For more information about `$PSDefaultParameterValues`, see
71-
[about_Parameters_Default_Values](/powershell/module/microsoft.powershell.core/about/about_parameters_default_values).
71+
[about_Parameters_Default_Values](/powershell/module/microsoft.powershell.core/About/about_Parameters_Default_Values).
7272

7373
## PARAMETERS
7474

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

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,13 @@ Accept wildcard characters: True
147147

148148
### -Filter
149149

150-
Specifies a filter to qualify the **Path** parameter. The [FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md)
151-
provider is the only installed PowerShell provider that supports the use of filters. You can find
152-
the syntax for the **FileSystem** filter language in [about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md).
153-
Filters are more efficient than other parameters, because the provider applies them when the cmdlet
154-
gets the objects rather than having PowerShell filter the objects after they are retrieved.
150+
Specifies a filter to qualify the **Path** parameter. The
151+
[FileSystem](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md) provider is the only
152+
installed PowerShell provider that supports the use of filters. You can find the syntax for the
153+
**FileSystem** filter language in
154+
[about_Wildcards](../Microsoft.PowerShell.Core/About/about_Wildcards.md). Filters are more efficient
155+
than other parameters, because the provider applies them when the cmdlet gets the objects rather
156+
than having PowerShell filter the objects after they are retrieved.
155157

156158
```yaml
157159
Type: System.String
@@ -212,7 +214,8 @@ typed. No characters are interpreted as wildcards. If the path includes escape c
212214
it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
213215
as escape sequences.
214216

215-
For more information, see [about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
217+
For more information, see
218+
[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
216219

217220
```yaml
218221
Type: System.String[]
@@ -398,16 +401,17 @@ PowerShell includes the following aliases for `Set-Item`:
398401
- All platforms:
399402
- `si`
400403

401-
- `Set-Item` is not supported by the PowerShell FileSystem provider. To change the values of items in
402-
the file system, use the `Set-Content` cmdlet.
403-
- In the Registry drives, `HKLM:` and `HKCU:`, `Set-Item` changes the data in the (Default) value of a
404-
registry key.
404+
- `Set-Item` is not supported by the PowerShell FileSystem provider. To change the values of items
405+
in the file system, use the `Set-Content` cmdlet.
406+
- In the Registry drives, `HKLM:` and `HKCU:`, `Set-Item` changes the data in the (Default) value of
407+
a registry key.
405408
- To create and change the names of registry keys, use the `New-Item` and `Rename-Item` cmdlet.
406-
- To change the names and data in registry values, use the `New-ItemProperty`, `Set-ItemProperty`, and
407-
`Rename-ItemProperty` cmdlets.
409+
- To change the names and data in registry values, use the `New-ItemProperty`, `Set-ItemProperty`,
410+
and `Rename-ItemProperty` cmdlets.
408411
- `Set-Item` is designed to work with the data exposed by any provider.
409412
To list the providers available in your session, type `Get-PsProvider`.
410-
For more information, see [about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
413+
For more information, see
414+
[about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
411415

412416
## RELATED LINKS
413417

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ path-based operations using the current working directory specific to the curren
264264

265265
The `Set-Location` cmdlet is designed to work with the data exposed by any provider. To list the
266266
providers available in your session, type `Get-PSProvider`. For more information, see
267-
[about_Providers](../Microsoft.PowerShell.Core/about/about_Providers.md).
267+
[about_Providers](../Microsoft.PowerShell.Core/About/about_Providers.md).
268268

269269
A stack is a last-in, first-out list in which only the most recently added item can be accessed. You
270270
add items to a stack in the order that you use them, and then retrieve them for use in the reverse

0 commit comments

Comments
 (0)