Skip to content

Commit d32a9b1

Browse files
(fixup) may -> can or might
1 parent 06f7316 commit d32a9b1

File tree

26 files changed

+62
-61
lines changed

26 files changed

+62
-61
lines changed

dsc/docs-conceptual/dsc-3.0/concepts/enhanced-authoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ specific to VS Code that:
3232
>
3333
> These schemas are only for improving the authoring experience. If you try to validate the
3434
> configuration document or resource manifest with a tool that doesn't support the extended
35-
> vocabulary, the tool may raise an error.
35+
> vocabulary, the tool might raise an error.
3636
>
3737
> The enhanced schemas share the same source definition as the canonical schemas and validate the
3838
> data in the same way. However, they include non-canonical keywords. For maximum compatibility

dsc/docs-conceptual/dsc-3.0/concepts/resources/anatomy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ At a minimum, the manifest must define:
5050
- A command to validate nested DSC Resources. This last option only applies to DSC group
5151
resources and DSC adapter resources.
5252

53-
The manifest may define:
53+
The manifest can define:
5454

5555
- The kind of resource the manifest describes: `adapter`, `group`, `importer`, or `resource`.
5656

@@ -82,7 +82,7 @@ for each operation is independent.
8282

8383
Command resources always require an executable file for DSC to run. The manifest doesn't need to be
8484
bundled with the executable. The executable can be any executable file, such as a binary
85-
application or a shell script. A resource may use different executables for different operations.
85+
application or a shell script. A resource can use different executables for different operations.
8686

8787
For DSC to use an executable, it must be discoverable in the `PATH` environment variable. DSC calls
8888
the executable once per operation, using the exit code returned by the executable to determine if

dsc/docs-conceptual/dsc-3.0/concepts/resources/capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ For resources with the `delete` capability and the [_exist][07] canonical resour
113113
the resource when the desired state defines `_exist` as `false`.
114114

115115
Resources with the `delete` capability that don't have the `_exist` canonical resource property
116-
must implement their **Set** operation to handle removing instances. DSC cannot infer existence
116+
must implement their **Set** operation to handle removing instances. DSC can't infer existence
117117
semantics without the `_exist` property.
118118

119119
A command resource has this capability when it defines the [delete][14] property in its resource

dsc/docs-conceptual/dsc-3.0/concepts/resources/instances.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and value is a different instance of the resource.
66

77
Every command resource defines a [resource instance schema][01] that describes how to validate and
88
manage an instance of the resource with a JSON Schema. [Adapter resources][02] implement the
9-
[Validate operation][03] to enable validating adapted resource instances, which may not have JSON
9+
[Validate operation][03] to enable validating adapted resource instances, which might not have JSON
1010
Schemas to describe their properties.
1111

1212
If you specify an invalid definition for a resource instance, DSC raises an error before invoking

dsc/docs-conceptual/dsc-3.0/concepts/resources/kinds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For more information about how DSC determines resource kinds, see
1111
## Adapter resources
1212

1313
An adapter resource makes non-command resources available to DSC. They always have a `resources`
14-
property that takes an array of nested resource instances. Adapters may provide additional control
14+
property that takes an array of nested resource instances. Adapters can provide additional control
1515
over how the adapted resources are processed.
1616

1717
For example, the `Microsoft.DSC/PowerShell` adapter enables you to use PowerShell Desired State

dsc/docs-conceptual/dsc-3.0/concepts/resources/operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ This operation is only available for [adapter resources][06].
8989

9090
The **Validate** operation indicates whether an instance of the resource is validly defined.
9191
Command resources use their resource instance schema for validation. Adapter resources implement
92-
the **Validate** operation to enable DSC to validate adapted resources, which may not have a
92+
the **Validate** operation to enable DSC to validate adapted resources, which might not have a
9393
defined JSON Schema.
9494

9595
DSC invokes the **Validate** operation on adapter resources when validating adapted resource

dsc/docs-conceptual/dsc-3.0/concepts/resources/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ DSC supports several kinds of resources:
2626
- A resource defined with a resource manifest is a _command_ resource. DSC uses the manifest
2727
to determine how to invoke the resource and how to validate the resource instance properties.
2828
- A _group resource_ is a command resource with a `resources` property that takes an array of
29-
resource instances and processes them. Group resources may apply special handling to their nested
29+
resource instances and processes them. Group resources can apply special handling to their nested
3030
resource instances, like changing the user the resources run as.
3131
- An _adapter resource_ is a group resource that enables the use of non-command resources with DSC.
3232
For example, the `Microsoft.DSC/PowerShell` and `Microsoft.Windows/WindowsPowerShell` adapter
@@ -60,7 +60,7 @@ instance schema.
6060

6161
Properties are optional by default. Resources can be invoked directly or declared in a
6262
configuration with only the properties that are relevant to the current task or purpose. You don't
63-
need to declare every property for an instance. Properties may have default values for their
63+
need to declare every property for an instance. Properties can have default values for their
6464
desired state.
6565

6666
Most properties are one of the basic types:
@@ -75,7 +75,7 @@ Most properties are one of the basic types:
7575
Complex properties require the property value to be an object with defined subproperties. The
7676
subproperties can be basic or complex, but they're usually a basic type.
7777

78-
Resources may define their properties as read-only or write-only:
78+
Resources can define their properties as read-only or write-only:
7979

8080
- A _read-only resource property_ defines metadata about an instance that the resource can retrieve
8181
but that a user can't directly set. You can't specify read-only properties in the desired state

dsc/docs-conceptual/dsc-3.0/concepts/resources/properties.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,28 +80,28 @@ the property is a key property.
8080

8181
## Required resource properties
8282

83-
When defining a resource instance, some properties may be required. An instance that doesn't
83+
When defining a resource instance, some properties might be required. An instance that doesn't
8484
define required properties is invalid. DSC raises a validation error before invoking the resource
8585
when required properties are missing.
8686

87-
Properties may be _always_ required. DSC determines whether a resource property is a required
87+
Properties can be _always_ required. DSC determines whether a resource property is a required
8888
propety by examining the `required` keyword in the instance schema. If the instance schema defines
8989
the `required` keyword and the property name is included in the array of values for the keyword,
9090
the property is always required.
9191

92-
Properties may be _conditionally_ required. Resources can conditionally require a property with the
92+
Properties can be _conditionally_ required. Resources can conditionally require a property with the
9393
`dependentRequires` keyword or other conditional keywords. For more information about conditionally
9494
applied subschemas, see
9595
[Conditional schema validation][01].
9696

9797
## Read-only resource properties
9898

99-
Resources may define read-only properties to describe information about an instance that the
99+
Resources can define read-only properties to describe information about an instance that the
100100
resource can retrieve but not directly set. For example, file APIs don't generally allow a user to
101101
set the property describing the last time the file was modified.
102102

103103
Generally, you should not include read-only properties when defining the desired state for an
104-
instance. Assertion resources that don't support the **Set** operation may include read-only
104+
instance. Assertion resources that don't support the **Set** operation can include read-only
105105
properties you can use for validating system state for conditional behavior.
106106

107107
DSC determines whether a resource property is a read-only property by examining the property
@@ -110,7 +110,7 @@ subschema in the instance schema. If the subschema defines the `readOnly` keywor
110110

111111
## Write-only resource properties
112112

113-
Resources may define write-only properties that affect how the resource behaves but that the
113+
Resources can define write-only properties that affect how the resource behaves but that the
114114
resource can't retrieve for the actual state of an instance. For example, a resource might support
115115
credentials for downloading a file, but won't return those credentials in the output.
116116

dsc/docs-conceptual/dsc-3.0/glossary.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ ms.date: 03/18/2025
88

99
# Glossary: Desired State Configuration
1010

11-
Microsoft Desired State Configuration (DSC) uses several terms that may have different definitions
12-
elsewhere. This document lists the terms, their meanings, and shows how they're formatted in the
13-
documentation.
11+
Microsoft Desired State Configuration (DSC) uses several terms that might have different
12+
definitions elsewhere. This document lists the terms, their meanings, and shows how they're
13+
formatted in the documentation.
1414

1515
<!-- markdownlint-disable MD028 MD036 MD024 -->
1616

@@ -27,7 +27,7 @@ The JSON or YAML data that defines a list of resource instances and their desire
2727

2828
#### Examples
2929

30-
> A DSC Configuration Document may be formatted as JSON or YAML.
30+
> A DSC Configuration Document can be formatted as JSON or YAML.
3131
3232
> Define the `scope` variable in the document as `machine`.
3333
@@ -52,7 +52,7 @@ resources.
5252
5353
### DSC resource instance
5454

55-
A single item configured by a DSC resource. A resource may manage any number of instances. Each
55+
A single item configured by a DSC resource. A resource can manage any number of instances. Each
5656
instance uniquely represents an item, like a specific file or a software package.
5757

5858
A DSC configuration document defines the desired state for one or more instances.
@@ -87,7 +87,7 @@ determine how to invoke the resource and how to validate the resource instance p
8787
### DSC group resource
8888

8989
A _group resource_ is a resource with a `resources` property that takes an array of resource
90-
instances and processes them. Group resources may apply special handling to their nested resource
90+
instances and processes them. Group resources can apply special handling to their nested resource
9191
instances, like changing the user the resources run as.
9292

9393
#### Guidelines
@@ -164,7 +164,7 @@ resource). PSDSC resources are further distinguished by their implementation:
164164
- **Subsequent mentions:** PSDSC resources.
165165
- When discussing a specific type of PowerShell resource, always specify the type prefix, like
166166
_class-based PSDSC resources_.
167-
- The PSDSC prefix may be omitted when the context is clearly or only about PowerShell DSC
167+
- The PSDSC prefix can be omitted when the context is clearly or only about PowerShell DSC
168168
resources, like a tutorial for authoring a class-based resource.
169169

170170
<!-- vale alex.Condescending = YES -->
@@ -181,7 +181,7 @@ resource). PSDSC resources are further distinguished by their implementation:
181181
### DSC Resource manifest
182182

183183
The data file that defines the metadata and implementation of a command-based resource. A resource
184-
manifest may be authored in either JSON or YAML.
184+
manifest can be authored in either JSON or YAML.
185185

186186
#### Guidelines
187187

@@ -270,7 +270,7 @@ properties.
270270
### Key resource properties
271271

272272
The key properties of a resource uniquely identify an instance of the resource. No two instances of
273-
a resource in a configuration may have identical key properties.
273+
a resource in a configuration can have identical key properties.
274274

275275
If two instances have the same key properties but different values for the other properties, the
276276
configuration will never be in the desired state and DSC will reconfigure the instance during every
@@ -330,7 +330,7 @@ properties, see [DSC canonical properties][01]
330330
### Read-only resource properties
331331

332332
Read-only resource properties of a resource describe non-configurable information about an instance
333-
that the resource returns. This may include metadata like the last time a file was modified or the
333+
that the resource returns. This can include metadata like the last time a file was modified or the
334334
latest available version of a package.
335335

336336
Resources indicate which properties are read-only in their instance schema by defining the

dsc/docs-conceptual/dsc-3.0/reference/cli/dsc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ set to any value in the list, DSC emits messages at that level and above.
8989
> [!WARNING]
9090
> The `trace` level output emits all JSON input/output that DSC processes during execution. DSC
9191
> doesn't sanitize the JSON before emitting it. This trace level is only intended for developer
92-
> use. Never redirect `trace` level output to storage as it may contain sensitive information.
92+
> use. Never redirect `trace` level output to storage as it might contain sensitive information.
9393
9494
For example, when the log level is `debug`, DSC emits messages for every log level except `trace`.
9595
When the log level is `error`, DSC only emits error messages. DSC ignores every message with a

0 commit comments

Comments
 (0)