Skip to content

Commit 359017e

Browse files
DCtheGeeksdwheeler
authored andcommitted
Removing bad single and double quotes from articles (#4823)
1 parent e259dfb commit 359017e

16 files changed

+65
-65
lines changed

dsc/configurations/configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ When you call the configuration, it:
118118
If there is more than one node, a MOF file will be created for each node.
119119

120120
> [!NOTE]
121-
> The MOF file contains all of the configuration information for the target node. Because of this, its important to keep it secure.
121+
> The MOF file contains all of the configuration information for the target node. Because of this, it's important to keep it secure.
122122
> For more information, see [Securing the MOF file](../pull-server/secureMOF.md).
123123
124124
Compiling the first configuration above results in the following folder structure:

dsc/configurations/import-dscresource.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ Configuration SchemaValidationInCorrectEnumValue
9999
{
100100
WindowsFeature ROLE1
101101
{
102-
Name = Telnet-Client
103-
Ensure = Invalid
102+
Name = "Telnet-Client"
103+
Ensure = "Invalid"
104104
}
105105
}
106106
}
@@ -109,7 +109,7 @@ Configuration SchemaValidationInCorrectEnumValue
109109
Compiling this Configuration results in an error.
110110

111111
```output
112-
PSDesiredStateConfiguration\WindowsFeature: At least one of the values Invalid is not supported or valid for property Ensure on class WindowsFeature. Please specify only supported values: Present, Absent.
112+
PSDesiredStateConfiguration\WindowsFeature: At least one of the values 'Invalid' is not supported or valid for property 'Ensure' on class 'WindowsFeature'. Please specify only supported values: Present, Absent.
113113
```
114114

115115
Intellisense and schema validation allow you to catch more errors during parse and compilation time, avoiding complications at run time.

dsc/configurations/separatingEnvData.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,21 +266,21 @@ $MyData =
266266
    AllNodes =
267267
    @(
268268
        @{
269-
            NodeName           = “*”
270-
            LogPath            = C:\Logs
269+
            NodeName           = "*"
270+
            LogPath            = "C:\Logs"
271271
        },
272272
273273
        @{
274-
            NodeName = VM-1
275-
            SiteContents = C:\Site1
276-
            SiteName = Website1
274+
            NodeName = "VM-1"
275+
            SiteContents = "C:\Site1"
276+
            SiteName = "Website1"
277277
        },
278278
279279
280280
        @{
281-
            NodeName = VM-2”;
282-
            SiteContents = C:\Site2
283-
            SiteName = Website2
281+
            NodeName = "VM-2"
282+
            SiteContents = "C:\Site2"
283+
            SiteName = "Website2"
284284
        }
285285
    );
286286
@@ -300,12 +300,12 @@ configuration WebsiteConfig
300300
        {
301301
            Name         = $Node.SiteName
302302
            PhysicalPath = $Node.SiteContents
303-
            Ensure       = Present
303+
            Ensure       = "Present"
304304
        }
305305
306306
        File ConfigFile
307307
        {
308-
            DestinationPath = $Node.SiteContents + \\config.xml
308+
            DestinationPath = $Node.SiteContents + "\\config.xml"
309309
            Contents = $ConfigurationData.NonNodeData.ConfigFileContents
310310
        }
311311
    }

dsc/getting-started/azureDscexthistory.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ This article will provide information about each version of the Azure DSC VM Ext
158158
- **Environment:** Azure
159159
- **Remarks:** This version uses DSC as included in Windows Server 2016 Technical Preview; for other Windows OSes, it installs the [Windows Management Framework 5.0 RTM](https://blogs.msdn.microsoft.com/powershell/2015/12/16/windows-management-framework-wmf-5-0-rtm-is-now-available/) (installing WMF requires a reboot).
160160
- **New features:**
161-
- Support for WMF 5.1 Preview. When first published, this version was an optional upgrade and you had to specify Wmfversion = 5.1PP in Resource Manager templates to install WMF 5.1 preview. Wmfversion = latest still installs the [WMF 5.0 RTM](https://blogs.msdn.microsoft.com/powershell/2015/12/16/windows-management-framework-wmf-5-0-rtm-is-now-available/). For more information on WMF 5.1 preview, see [this blog](https://blogs.msdn.microsoft.com/powershell/2016/07/16/announcing-windows-management-framework-wmf-5-1-preview/).
161+
- Support for WMF 5.1 Preview. When first published, this version was an optional upgrade and you had to specify Wmfversion = '5.1PP' in Resource Manager templates to install WMF 5.1 preview. Wmfversion = 'latest' still installs the [WMF 5.0 RTM](https://blogs.msdn.microsoft.com/powershell/2015/12/16/windows-management-framework-wmf-5-0-rtm-is-now-available/). For more information on WMF 5.1 preview, see [this blog](https://blogs.msdn.microsoft.com/powershell/2016/07/16/announcing-windows-management-framework-wmf-5-1-preview/).
162162
- Minor other fixes and improvements were added.
163163

164164
### Version 2.19
@@ -180,7 +180,7 @@ This article will provide information about each version of the Azure DSC VM Ext
180180
- **Remarks:** This version uses DSC as included in Windows Server 2016 Technical Preview; for other Windows OSes, it installs the [Windows Management Framework 5.0 RTM](https://blogs.msdn.microsoft.com/powershell/2015/12/16/windows-management-framework-wmf-5-0-rtm-is-now-available/) (installing WMF requires a reboot).
181181
- **New features:**
182182
- Make telemetry non-blocking when an error occurs during telemetry hotfix download (known Azure DNS issue) or during install.
183-
- Fix for the intermittent issue where extension stops processing configuration after a reboot. This was causing the DSC Extension to remain in transitioning state.
183+
- Fix for the intermittent issue where extension stops processing configuration after a reboot. This was causing the DSC Extension to remain in 'transitioning' state.
184184
- Minor other fixes and improvements were added.
185185

186186
### Version 2.17
@@ -203,7 +203,7 @@ This article will provide information about each version of the Azure DSC VM Ext
203203
- **Remarks:** This version uses DSC as included in Windows Server 2016 Technical Preview; for other Windows OSes, it installs the [Windows Management Framework 5.0 RTM](https://blogs.msdn.microsoft.com/powershell/2015/12/16/windows-management-framework-wmf-5-0-rtm-is-now-available/) (installing WMF requires a reboot).
204204
- **New features:**
205205
- Improvement in error handling and other minor bug fixes.
206-
- New property in DSC Extension settings. ForcePullAndApply in AdvancedOptions is added to enable the DSC Extension enact DSC configurations when the refresh mode is Pull (as opposed to the default Push mode). For more information, please refer to [this blog](https://blogs.msdn.microsoft.com/powershell/2016/02/26/arm-dsc-extension-settings/) to get more information on the DSC Extension settings.
206+
- New property in DSC Extension settings. 'ForcePullAndApply' in AdvancedOptions is added to enable the DSC Extension enact DSC configurations when the refresh mode is Pull (as opposed to the default Push mode). For more information, please refer to [this blog](https://blogs.msdn.microsoft.com/powershell/2016/02/26/arm-dsc-extension-settings/) to get more information on the DSC Extension settings.
207207

208208
### Version 2.15
209209

@@ -213,7 +213,7 @@ This article will provide information about each version of the Azure DSC VM Ext
213213
- **Environment:** Azure
214214
- **Remarks:** This version uses DSC as included in Windows Server 2016 Technical Preview; for other Windows OSes, it installs the [Windows Management Framework 5.0 RTM](https://blogs.msdn.microsoft.com/powershell/2015/12/16/windows-management-framework-wmf-5-0-rtm-is-now-available/) (installing WMF requires a reboot).
215215
- **New features:**
216-
- In extension version 2.14, changes to install WMF RTM were included. While upgrading from extension version 2.13.2.0 to 2.14.0.0, you may notice that some DSC cmdlets fail or your configuration fails with an error – No Instance found with given property values. For more information, see the [DSC release notes](https://msdn.microsoft.com/en-us/powershell/wmf/limitation_dsc). The workarounds for these issues have been added in 2.15 version.
216+
- In extension version 2.14, changes to install WMF RTM were included. While upgrading from extension version 2.13.2.0 to 2.14.0.0, you may notice that some DSC cmdlets fail or your configuration fails with an error – 'No Instance found with given property values'. For more information, see the [DSC release notes](https://msdn.microsoft.com/en-us/powershell/wmf/limitation_dsc). The workarounds for these issues have been added in 2.15 version.
217217
- Unfortunately, if you have already installed version 2.14 and are running into one of the above two issues, you will need to perform these steps manually. In an elevated PowerShell session:
218218
- `Remove-Item -Path $env:SystemRoot\system32\Configuration\DSCEngineCache.mof`
219219
- `mofcomp $env:windir\system32\wbem\DscCoreConfProv.mof`

dsc/getting-started/lnxGettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ $Sess=New-CimSession -Credential $credential -ComputerName $Node -Port 5986 -Aut
120120
```
121121

122122
> [!NOTE]
123-
> For Push mode, the user credential must be the root user on the Linux computer.
123+
> For "Push" mode, the user credential must be the root user on the Linux computer.
124124
> Only SSL/TLS connections are supported for DSC for Linux, the `New-CimSession` must be used with the –UseSSL parameter set to $true.
125125
> The SSL certificate used by OMI (for DSC) is specified in the file: `/opt/omi/etc/omiserver.conf` with the properties: pemfile and keyfile.
126126
> If this certificate is not trusted by the Windows computer that you are running the [New-CimSession](/powershell/module/CimCmdlets/New-CimSession) cmdlet on, you can choose to ignore certificate validation with the CIMSession Options: `-SkipCACheck $true -SkipCNCheck $true -SkipRevocationCheck $true`

dsc/managing-nodes/metaConfig4.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The following lists the Local Configuration Manager properties that you can set
2424
- **CertificateID**: The thumbprint of a certificate used to secure credentials passed in a configuration. For more information see [Want to secure credentials in Windows PowerShell Desired State Configuration?](https://blogs.msdn.microsoft.com/powershell/2014/01/31/want-to-secure-credentials-in-windows-powershell-desired-state-configuration/).
2525
- **ConfigurationID**: Indicates a GUID which is used to get a particular configuration file from a pull service. The GUID ensures that the correct configuration file is accessed.
2626
- **ConfigurationMode**: Specifies how the Local Configuration Manager actually applies the configuration to the target nodes. It can take the following values:
27-
- **ApplyOnly**: With this option, DSC applies the configuration and does nothing further unless a new configuration is detected, either by you sending a new configuration directly to the target node or if you are connecting to a pull service and DSC discovers a new configuration when it checks with the pull service. If the target nodes configuration drifts, no action is taken.
27+
- **ApplyOnly**: With this option, DSC applies the configuration and does nothing further unless a new configuration is detected, either by you sending a new configuration directly to the target node or if you are connecting to a pull service and DSC discovers a new configuration when it checks with the pull service. If the target node's configuration drifts, no action is taken.
2828
- **ApplyAndMonitor**: With this option (which is the default), DSC applies any new configurations, whether sent by you directly to the target node or discovered on a pull service. Thereafter, if the configuration of the target node drifts from the configuration file, DSC reports the discrepancy in logs. For more about DSC logging, see [Using Event Logs to Diagnose Errors in Desired State Configuration](http://blogs.msdn.com/b/powershell/archive/2014/01/03/using-event-logs-to-diagnose-errors-in-desired-state-configuration.aspx).
2929
- **ApplyAndAutoCorrect**: With this option, DSC applies any new configurations, whether sent by you directly to the target node or discovered on a pull service. Thereafter, if the configuration of the target node drifts from the configuration file, DSC reports the discrepancy in logs, and then attempts to adjust the target node configuration to bring in compliance with the configuration file.
3030
- **ConfigurationModeFrequencyMins**: Represents the frequency (in minutes) at which the background application of DSC attempts to implement the current configuration on the target node. The default value is 15. This value can be set in conjunction with RefreshMode. When RefreshMode is set to PULL, the target node contacts the configuration service at an interval set by RefreshFrequencyMins and downloads the current configuration. Regardless of the RefreshMode value, at the interval set by ConfigurationModeFrequencyMins, the consistency engine applies the latest configuration that was downloaded to the target node. RefreshFrequencyMins should be set to an integer multiple of ConfigurationModeFrequencyMins.
@@ -33,7 +33,7 @@ The following lists the Local Configuration Manager properties that you can set
3333
- **DownloadManagerName**: Indicates the name of the configuration and module download manager.
3434
- **RebootNodeIfNeeded**: Set this to `$true` to allow resources to reboot the Node using the `$global:DSCMachineStatus` flag. Otherwise, you will have to manually reboot the node for any configuration that requires it. The default value is `$false`. To use this setting when a reboot condition is enacted by something other than DSC (such as Windows Installer), combine this setting with the [xPendingReboot](https://github.com/powershell/xpendingreboot) module.
3535
- **RefreshFrequencyMins**: Used when you have set up a pull service. Represents the frequency (in minutes) at which the Local Configuration Manager contacts a pull service to download the current configuration. This value can be set in conjunction with ConfigurationModeFrequencyMins. When RefreshMode is set to PULL, the target node contacts the pull service at an interval set by RefreshFrequencyMins and downloads the current configuration. At the interval set by ConfigurationModeFrequencyMins, the consistency engine then applies the latest configuration that was downloaded to the target node. If RefreshFrequencyMins is not set to an integer multiple of ConfigurationModeFrequencyMins, the system will round it up. The default value is 30.
36-
- **RefreshMode**: Possible values are **Push** (the default) and **Pull**. In the push configuration, you must place a configuration file on each target node, using any client computer. In the pull mode, you must set up a pull service for Local Configuration Manager to contact and access the configuration files.
36+
- **RefreshMode**: Possible values are **Push** (the default) and **Pull**. In the "push" configuration, you must place a configuration file on each target node, using any client computer. In the "pull" mode, you must set up a pull service for Local Configuration Manager to contact and access the configuration files.
3737

3838
> [!NOTE]
3939
> The LCM starts the **ConfigurationModeFrequencyMins** cycle based on:
@@ -55,7 +55,7 @@ as shown in the following example.
5555
```powershell
5656
Configuration ExampleConfig
5757
{
58-
Node Server001
58+
Node "Server001"
5959
{
6060
LocalConfigurationManager
6161
{

dsc/overview/authoringAdvanced.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,20 @@ Configuration Name
104104
{
105105
File 1
106106
{
107-
Ensure = Present
108-
Path = c:\inetpub\file1.zip
109-
Source = http://uri/file1.zip
107+
Ensure = "Present"
108+
Path = "c:\inetpub\file1.zip"
109+
Source = "http://uri/file1.zip"
110110
}
111111
Service A
112112
{
113-
Ensure = Present
114-
Name = ServiceA
115-
Status = Running
113+
Ensure = "Present"
114+
Name = "ServiceA"
115+
Status = "Running"
116116
}
117117
SecurityBaseline Settings
118118
{
119-
Ensure = Present
120-
Datacenter = NorthAmerica
119+
Ensure = "Present"
120+
Datacenter = "NorthAmerica"
121121
}
122122
}
123123
```

dsc/overview/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ DSC is a management platform in PowerShell that enables you to manage your IT an
1919
DSC is a declarative platform used for configuration, deployment, and management of systems. It consists of three primary components:
2020

2121
- [Configurations](../configurations/configurations.md) are declarative PowerShell scripts which define and configure instances of resources.
22-
Upon running the configuration, DSC (and the resources being called by the configuration) will simply make it so,
22+
Upon running the configuration, DSC (and the resources being called by the configuration) will simply "make it so",
2323
ensuring that the system exists in the state laid out by the configuration.
2424
DSC configurations are also idempotent: the Local Configuration Manager (LCM) will continue to ensure that machines are configured in whatever state the configuration declares.
2525
- [Resources](../resources/resources.md) are the "make it so" part of DSC. They contain the code that put and keep the target of a configuration in the specified state.
2626
Resources reside in PowerShell modules and can be written to model something as generic as a file or a Windows process,
2727
or as specific as an IIS server or a VM running in Azure.
2828
- The [Local Configuration Manager (LCM)](../managing-nodes/metaConfig.md) is the engine by which DSC facilitates the interaction between resources and configurations.
2929
The LCM regularly polls the system using the control flow implemented by resources to ensure that the state defined by a configuration is maintained.
30-
If the system is out of state, the LCM makes calls to the code in resources to make it so according to the configuration.
30+
If the system is out of state, the LCM makes calls to the code in resources to "make it so" according to the configuration.
3131

3232
## See Also
3333

dsc/pull-server/pullClientConfigID4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Configuration PullClientConfigId
6262
RefreshFrequencyMins = 30;
6363
ConfigurationModeFrequencyMins = 30;
6464
ConfigurationMode = "ApplyAndAutoCorrect";
65-
DownloadManagerCustomData = @{ServerUrl = "http://PullServer:8080/PSDSCPullServer/PSDSCPullServer.svc"; AllowUnsecureConnection = TRUE}
65+
DownloadManagerCustomData = @{ServerUrl = "http://PullServer:8080/PSDSCPullServer/PSDSCPullServer.svc"; AllowUnsecureConnection = "TRUE"}
6666
}
6767
}
6868
PullClientConfigId -Output "."

dsc/pull-server/pullServerSMB.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ For more information about configuring the LCM, see [Setting up a pull client us
171171
> You **MUST** specify a **ConfigurationID** in the **Settings** block of a metaconfiguration for an SMB pull server, even if you are only pulling resources.
172172
173173
```powershell
174-
$secpasswd = ConvertTo-SecureString Pass1Word -AsPlainText -Force
175-
$mycreds = New-Object System.Management.Automation.PSCredential (TestUser, $secpasswd)
174+
$secpasswd = ConvertTo-SecureString "Pass1Word" -AsPlainText -Force
175+
$mycreds = New-Object System.Management.Automation.PSCredential ("TestUser", $secpasswd)
176176
177177
[DSCLocalConfigurationManager()]
178178
configuration SmbCredTest

0 commit comments

Comments
 (0)