Skip to content

Commit 40fce58

Browse files
authored
Merge pull request #1 from PowerShell/staging
Syncing from original
2 parents 088c7e3 + 9ea1990 commit 40fce58

File tree

315 files changed

+2922
-2418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

315 files changed

+2922
-2418
lines changed

STYLE.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,21 @@ Header 2
3535
## Syntax
3636

3737
* When talking about a cmdlet in paragraph, use \` to highlight cmdlet names
38-
* When writing an article (as opposed to reference content), the first instance of a cmdlet name should be a link to the cmdlet documentation
38+
* Correct Example:
39+
This `Write-Host` Cmdlet can ...
40+
* Incorrect Example:
41+
 This **Write-Host** Cmdlet can ... and pipeline to out-file Cmdlet to ...
42+
* When writing an article (as opposed to reference content), the first instance of a cmdlet name should be a link to the cmdlet documentation
3943
* All PowerShell syntax blocks should use ```powershell
40-
* Do not start PowerShell commands with "C:\ PS>"
44+
* Do not start PowerShell commands with "`PS C:\>`"
45+
* Correct Example:
46+
```powershell
47+
Get-Process
48+
```
49+
* Incorrect Example:
50+
```powershell
51+
PS C:\> Get-Process
52+
```
4153
* Output emitted by PowerShell commands should be commented to prevent it from recieving syntax highlighting
4254
* Property names and parameter names should be in **bold**
4355
* PowerShell cmdlets are "[Pascal Cased](https://en.wikipedia.org/wiki/PascalCase)". Verbs are seperated from nouns by a hyphen.

dsc/DSCAutomationHostEnabled.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
21
---
3-
title: DSCAutomationHostEnabled registry key
4-
ms.date: 2016-05-16
5-
keywords: powershell,DSC
6-
description:
7-
ms.topic: article
2+
ms.date: 2017-06-12
83
author: eslesar
9-
manager: dongill
10-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: DSCAutomationHostEnabled registry key
117
---
128

139
>Applies to: Windows PowerShell 5.0

dsc/DscForEngineers.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: Desired State Configuration Overview for Decision Makers
3-
ms.date: 2017-03-13
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
2+
ms.date: 2017-06-12
73
author: eslesar
8-
manager: carmonm
9-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: Desired State Configuration Overview for Decision Makers
107
---
118

129
# Desired State Configuration Overview for Engineers #
@@ -141,3 +138,4 @@ To deploy to the different environments, you can invoke `Start-DscConfiguration`
141138
[Configuration Data](configData.md)
142139

143140
[Resources](resources.md)
141+

dsc/PackageManagementDscResource.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: DSC PackageManagement Resource
3-
ms.date:
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
7-
author: brywang-msft
8-
manager: kriscv
9-
ms.prod: powershell
2+
ms.date: 2017-06-12
3+
author: eslesar
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: DSC PackageManagement Resource
107
---
118

129
# DSC PackageManagement Resource
@@ -94,4 +91,5 @@ Configuration PackageTest
9491
DependsOn = "[PackageManagementSource]PSGallery"
9592
}
9693
}
97-
```
94+
```
95+

dsc/PackageManagementSourceDscResource.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: DSC PackageManagementSource Resource
3-
ms.date:
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
7-
author: brywang-msft
8-
manager: kriscv
9-
ms.prod: powershell
2+
ms.date: 2017-06-12
3+
author: eslesar
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: DSC PackageManagementSource Resource
107
---
118

129
# DSC PackageManagementSource Resource
@@ -56,3 +53,4 @@ Configuration PackageManagementSourceTest
5653
}
5754
}
5855
```
56+

dsc/archiveResource.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: DSC Archive Resource
3-
ms.date: 2016-05-16
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
2+
ms.date: 2017-06-12
73
author: eslesar
8-
manager: dongill
9-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: DSC Archive Resource
107
---
118

129
# DSC Archive Resource

dsc/authoringResource.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: Build Custom Windows PowerShell Desired State Configuration Resources
3-
ms.date: 2016-05-16
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
2+
ms.date: 2017-06-12
73
author: eslesar
8-
manager: dongill
9-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: Build Custom Windows PowerShell Desired State Configuration Resources
107
---
118

129
# Build Custom Windows PowerShell Desired State Configuration Resources

dsc/authoringResourceClass.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: Writing a custom DSC resource with PowerShell classes
3-
ms.date: 2016-05-16
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
2+
ms.date: 2017-06-12
73
author: eslesar
8-
manager: dongill
9-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: Writing a custom DSC resource with PowerShell classes
107
---
118

129
# Writing a custom DSC resource with PowerShell classes

dsc/authoringResourceComposite.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: Composite resources--Using a DSC configuration as a resource
3-
ms.date: 2016-05-16
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
2+
ms.date: 2017-06-12
73
author: eslesar
8-
manager: dongill
9-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: Composite resources--Using a DSC configuration as a resource
107
---
118

129
# Composite resources: Using a DSC configuration as a resource

dsc/authoringResourceMOF.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
2-
title: Writing a custom DSC resource with MOF
3-
ms.date: 2016-05-16
4-
keywords: powershell,DSC
5-
description:
6-
ms.topic: article
2+
ms.date: 2017-06-12
73
author: eslesar
8-
manager: dongill
9-
ms.prod: powershell
4+
ms.topic: conceptual
5+
keywords: dsc,powershell,configuration,setup
6+
title: Writing a custom DSC resource with MOF
107
---
118

129
# Writing a custom DSC resource with MOF

0 commit comments

Comments
 (0)