Skip to content

Commit

Permalink
fix: MD012/no-multiple-blanks (MicrosoftDocs#5946)
Browse files Browse the repository at this point in the history
Multiple consecutive blank lines
  • Loading branch information
nschonni authored May 18, 2020
1 parent 387e98d commit be9b077
Show file tree
Hide file tree
Showing 636 changed files with 85 additions and 1,090 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ Thank you for your interest in contributing to quality documentations.
As an open source project, we welcome input and updates from the community.

Please see our Contributor's Guide at https://aka.ms/PSDocsContributor.

1 change: 0 additions & 1 deletion reference/5.1/CimCmdlets/New-CimInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ PSComputerName :
The `Get-CimInstance` cmdlet then retrieves a particular single instance. The `Invoke-CimMethod`
cmdlet calls the **GetOwner** method on the retrieved instance.


### Example 4: Create an instance for a CIM class of a specific namespace

This example gets an instance of a CIM class named **MSFT_Something** in the namespace
Expand Down
1 change: 0 additions & 1 deletion reference/5.1/CimCmdlets/New-CimSessionOption.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ parameter using one of the following formats:
- A variable that contains a CultureInfo object.
- A command that gets a CultureInfo object, such as `Get-Culture`.


```yaml
Type: CultureInfo
Parameter Sets: (All)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,3 @@ filename stored in the archive.
## RELATED LINKS

[Compress-Archive](compress-archive.md)

1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/About/about_If.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ else {
To further refine this example, you can use the Elseif statement to display
a message when the value of $a is equal to 2. As the next example shows:


```powershell
if ($a -gt 2) {
Write-Host "The value $a is greater than 2."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ Using | [about_Using](about_Using.md), [about_Classes](about_Classes.md)
Var | Reserved for future use
While | [about_While](about_While.md), [about_Do](about_Do.md)


Language Keywords

### Begin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ object: 1
In this example we cast the method to the interface **IFoo** to select the more
specific overload of the **Bar** method.


```powershell
([IFoo] [Foo]::new()).Bar(1)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,4 +532,3 @@ enhances readability.
[about_Command_Syntax](about_command_syntax.md)

[about_ForEach](about_foreach.md)

Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ Get-Help * -Parameter ThrottleLimit
Get-Command -ParameterName ThrottleLimit
```


### IS THE OUTPUT OF REMOTE COMMANDS DIFFERENT FROM LOCAL OUTPUT?

When you use Windows PowerShell locally, you send and receive "live" .NET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ you install Windows Management Framework 5.1.
You can also read about changes to Windows PowerShell 5.1 in
[What's New in Windows PowerShell](/powershell/scripting/whats-new/what-s-new-with-powershell).


## New Scenarios and Features in WMF 5.1

> Note: This information is preliminary and subject to change.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -745,4 +745,3 @@ commands are running in the disconnected session.
[Register-PSSessionConfiguration](Register-PSSessionConfiguration.md)

[Remove-PSSession](Remove-PSSession.md)

2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Debug-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[Suspend-Job](Suspend-Job.md)

[Wait-Job](Wait-Job.md)


Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,3 @@ To run this cmdlet you must start PowerShell by using the **Run as administrator
[about_Session_Configurations](About/about_Session_Configurations.md)

[about_Session_Configuration_Files](About/about_Session_Configuration_Files.md)

Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,3 @@ To use this cmdlet, you must start PowerShell by using the **Run as administrato
[about_Session_Configurations](About/about_Session_Configurations.md)

[about_Session_Configuration_Files](About/about_Session_Configuration_Files.md)

1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/Enter-PSSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -735,4 +735,3 @@ The cmdlet does not return any output.
[about_PSSessions](About/about_PSSessions.md)

[about_Remote](About/about_Remote.md)

2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Exit-PSHostProcess.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS

[Enter-PSHostProcess](Enter-PSHostProcess.md)


2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Exit-PSSession.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,3 @@ This cmdlet does not return any output.
[Receive-PSSession](Receive-PSSession.md)

[Remove-PSSession](Remove-PSSession.md)


2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Export-Console.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,3 @@ For more information, see about_Profiles.
[Get-PSSnapin](Get-PSSnapin.md)

[Remove-PSSnapin](Remove-PSSnapin.md)


Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,3 @@ This cmdlet does not generate any output.
[Remove-Module](Remove-Module.md)
[about_Modules](About/about_Modules.md)
1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/ForEach-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ Hello
Because PowerShell treats null as an explicit placeholder, the `ForEach-Object` cmdlet generates a
value for `$Null`, just as it does for other objects that you pipe to it.


### Example 6: Get property values

This example gets the value of the **Path** property of all installed PowerShell modules by using
Expand Down
1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/Get-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,4 +656,3 @@ Job started by using the *AsJob* common parameter of workflows.
[about_Remote_Jobs](About/about_Remote_Jobs.md)

[about_Scheduled_Jobs](../PSScheduledJob/About/about_Scheduled_Jobs.md)

Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,3 @@ You can pipe a **Process** object from `Get-Process` to this cmdlet.
## RELATED LINKS

[Get-Process](../Microsoft.PowerShell.Management/get-process.md)

Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS
[New-PSRoleCapabilityFile](New-PSRoleCapabilityFile.md)
2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Get-PSSnapin.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,3 @@ Get-PSSnapin returns an object for each snap-in that it gets.
[Add-PSSnapin](Add-PSSnapin.md)
[Remove-PSSnapin](Remove-PSSnapin.md)
3 changes: 0 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Core/Import-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ member names, and then displays the prefixed member names. The **Prefix** parame
applies only to the members in the current session. It does not change the module. The **PassThru**
parameter returns a module object that represents the imported module.



```powershell
Import-Module PSDiagnostics -Prefix x -PassThru
```
Expand Down Expand Up @@ -280,7 +278,6 @@ name of an imported member, including its module name.
The **AsCustomObject** parameter can be used only when importing a script module. Use `Get-Module`
to determine which of the available modules is a script module.


```powershell
Get-Module -List | Format-Table -Property Name, ModuleType -AutoSize
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,3 @@ Suppresses the command prompt until one or all of the PowerShell background jobs

### [Where-Object](Where-Object.md)
Selects objects from a collection based on their property values.

1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/New-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,4 +419,3 @@ You can also refer to `New-Module` by its alias, `nmo`. For more information, se
[Remove-Module](Remove-Module.md)

[about_Modules](About/about_Modules.md)

Original file line number Diff line number Diff line change
Expand Up @@ -1142,4 +1142,3 @@ module and the caller's session state is the module's session state.
[Test-ModuleManifest](Test-ModuleManifest.md)

[about_Modules](./About/about_Modules.md)

Original file line number Diff line number Diff line change
Expand Up @@ -384,5 +384,3 @@ You cannot pipe input to this cmdlet.
[Register-PSSessionConfiguration](Register-PSSessionConfiguration.md)
[Set-PSSessionConfiguration](Set-PSSessionConfiguration.md)
2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Out-Null.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,3 @@ This cmdlet does not generate any output.
[Out-Default](Out-Default.md)
[Out-Host](Out-Host.md)
1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/Receive-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ Specifies an array of friendly names.
This cmdlet gets the results of jobs that have the specified names.
Wildcard characters are supported.


```yaml
Type: String[]
Parameter Sets: NameParameterSet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -788,4 +788,3 @@ configuration file have additional properties.
[about_Session_Configurations](About/about_Session_Configurations.md)

[about_Session_Configuration_Files](About/about_Session_Configuration_Files.md)

1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/Remove-Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,3 @@ This cmdlet does not generate any output.
[Import-Module](Import-Module.md)
[about_Modules](About/about_Modules.md)
Original file line number Diff line number Diff line change
Expand Up @@ -386,4 +386,3 @@ This cmdlet does not return any objects.
[about_PSSessions](About/about_PSSessions.md)

[about_Remote](About/about_Remote.md)

2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Remove-PSSnapin.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,3 @@ By default, **Remove-PSSnapin** does not generate any output.
[Add-PSSnapin](Add-PSSnapin.md)

[Get-PSSnapin](Get-PSSnapin.md)


2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Resume-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,5 +375,3 @@ Otherwise, this cmdlet does not generate any output.
[Suspend-Job](Suspend-Job.md)
[Wait-Job](Wait-Job.md)
Original file line number Diff line number Diff line change
Expand Up @@ -757,4 +757,3 @@ introduced in PowerShell 3.0, use the WSMan: drive in PowerShell 3.0.
[about_Session_Configurations](About/about_Session_Configurations.md)

[about_Session_Configuration_Files](About/about_Session_Configuration_Files.md)

1 change: 0 additions & 1 deletion reference/5.1/Microsoft.PowerShell.Core/Start-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ Arguments must be passed to **ArgumentList** as single-dimension array argument.
comma-separated list. For more information about the behavior of **ArgumentList**, see
[about_Splatting](about/about_Splatting.md#splatting-with-arrays).


```yaml
Type: Object[]
Parameter Sets: ComputerName, FilePathComputerName, LiteralFilePathComputerName
Expand Down
3 changes: 0 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Core/Suspend-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,3 @@ This cmdlet returns the jobs that it suspended.
[Suspend-Job](Suspend-Job.md)
[Wait-Job](Wait-Job.md)
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,3 @@ It returns this object even if the manifest has errors.
[Remove-Module](Remove-Module.md)
[about_Modules](About/about_Modules.md)
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,3 @@ To run this cmdlet you must start PowerShell by using the **Run as administrator
[about_Session_Configurations](About/about_Session_Configurations.md)

[about_Session_Configuration_Files](About/about_Session_Configuration_Files.md)

3 changes: 0 additions & 3 deletions reference/5.1/Microsoft.PowerShell.Core/Wait-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,3 @@ If the wait ends because the value of the *Timeout* parameter is exceeded, **Wai
[Stop-Job](Stop-Job.md)

[Suspend-Job](Suspend-Job.md)



Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ also allows you to use a **Suppress XML** element that excludes events from the
information about the XML schema for event log queries, see [Query Schema](/windows/win32/wes/queryschema-schema)
and the XML Event Queries section of [Event Selection](/previous-versions/aa385231(v=vs.85)).


```yaml
Type: XmlDocument
Parameter Sets: XmlQuerySet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,3 @@ This cmdlet does to generate any output.
## RELATED LINKS
[Get-WinEvent](Get-WinEvent.md)
2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Host/Stop-Transcript.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,3 @@ This cmdlet returns a string that contains a status message and the path to the
## RELATED LINKS

[Start-Transcript](Start-Transcript.md)


Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,3 @@ This cmdlet does not generate any output.
[Rename-LocalUser](Rename-LocalUser.md)
[Set-LocalUser](Set-LocalUser.md)
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,3 @@ This cmdlet does not generate any output.
[Rename-LocalUser](Rename-LocalUser.md)
[Set-LocalUser](Set-LocalUser.md)
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,3 @@ This cmdlet returns a local group.
[Rename-LocalGroup](Rename-LocalGroup.md)
[Set-LocalGroup](Set-LocalGroup.md)
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,3 @@ This cmdlet returns local principals.
[New-LocalGroup](New-LocalGroup.md)
[Remove-LocalGroupMember](Remove-LocalGroupMember.md)
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Name Enabled Description
AdminContoso02 True Description of this account.
```


### Example 2: Get an account that is connected to a Microsoft account

This example gets a user account that is connected to a Microsoft account. This example uses a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,3 @@ Changes a local security group.

### [Set-LocalUser](Set-LocalUser.md)
Modifies a local user account.


Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,3 @@ This cmdlet returns a security group.
[Rename-LocalGroup](Rename-LocalGroup.md)

[Set-LocalGroup](Set-LocalGroup.md)


Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,3 @@ This cmdlet does not generate any output.
[Rename-LocalGroup](Rename-LocalGroup.md)

[Set-LocalGroup](Set-LocalGroup.md)


Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,3 @@ This cmdlet does not generate any output.
[Get-LocalGroupMember](Get-LocalGroupMember.md)

[New-LocalGroup](New-LocalGroup.md)


Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,3 @@ This cmdlet does not generate any output.
[Rename-LocalUser](Rename-LocalUser.md)

[Set-LocalUser](Set-LocalUser.md)


Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,3 @@ This cmdlet does not generate any output.
[Remove-LocalGroup](Remove-LocalGroup.md)

[Set-LocalGroup](Set-LocalGroup.md)


Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,3 @@ This cmdlet does not generate any output.
[Remove-LocalUser](Remove-LocalUser.md)

[Set-LocalUser](Set-LocalUser.md)


Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,3 @@ This cmdlet does not generate any output.
[Remove-LocalGroup](Remove-LocalGroup.md)

[Rename-LocalGroup](Rename-LocalGroup.md)


Original file line number Diff line number Diff line change
Expand Up @@ -299,5 +299,3 @@ This cmdlet does not generate any output.
[Remove-LocalUser](Remove-LocalUser.md)

[Rename-LocalUser](Rename-LocalUser.md)


Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,3 @@ To roll back a different transaction, you must first commit or roll back the act
[New-Item](New-Item.md)

[New-ItemProperty](New-ItemProperty.md)


2 changes: 0 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Management/Convert-Path.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,3 @@ exist yet.
[Test-Path](Test-Path.md)

[Get-PSProvider](Get-PSProvider.md)


Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,3 @@ This cmdlet does not generate any output.
[Stop-Process](Stop-Process.md)

[Wait-Process](Wait-Process.md)



Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,3 @@ To open this tab in Windows PowerShell, type `SystemPropertiesProtection`.
[Restart-Computer](Restart-Computer.md)

[Restore-Computer](Restore-Computer.md)


Loading

0 comments on commit be9b077

Please sign in to comment.