Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on macOS systems using Brew.
## Test if package is installed

The following snippet shows how you can use the resource with the [dsc resource test][00] command
to check whether the `node` package exists.
to check whether the `node` package doesn't exist.

```bash
dsc resource test --resource DSC.PackageManagement/Brew --input '{"packageName":"node"}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ MinimumDSCVersion: 3.2.0
properties: # adapted resource properties
<property name>: <property value>
directives:
requireAdapter: Microsoft.Adapter/WindowsPowerShell
requireAdapter: Microsoft.Adapter/PowerShell
```

## Description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ results:
$id: https://aka.ms/dsc/schemas/v3/bundled/resource/manifest.json
family: macOS
version: 15.5.0
bitness: '64'
bitness: 64
architecture: arm64
messages: []
hadErrors: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ results:
$id: https://aka.ms/dsc/schemas/v3/bundled/resource/manifest.json
family: macOS
version: 15.5.0
bitness: '64'
bitness: 64
architecture: arm64
messages: []
hadErrors: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dsc --trace-level info config get --file ./psscript.config.dsc.yaml
<timestamp> INFO Invoking get 'Microsoft.DSC.Transitional/PowerShellScript' using 'pwsh'
<timestamp> INFO Invoking get 'Microsoft.DSC.Transitional/PowerShellScript' using 'pwsh'
<timestamp> INFO PID <pid>: Checking for MOTD file at 'Temp:/example.motd'
<timestamp> INFO PID <pid>: MOTD file not found at 'Temp:/example.motd
<timestamp> INFO PID <pid>: MOTD file not found at 'Temp:/example.motd'
```

```yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ winget list --id Microsoft.PowerShell.Preview
```

<!-- Link reference definitions -->
[00]: ../../../../../../cli/resource/set.md
[00]: ../../../../../../cli/config/set.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ title: Microsoft.Windows/RebootPending
Checks if a Windows system has a pending reboot.

> [!IMPORTANT]
> The `Microsoft.Windows/RebootPending` resource are a proof-of-concept example
> The `Microsoft.Windows/RebootPending` resource is a proof-of-concept example
> for use with DSC. Don't use it in production.

## Metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ specific drives using a configuration document.

## Definition

The configuration document for this example defines one instances of the `Win32_LogicalDisk` resource.
The configuration document for this example defines one instance of the `Win32_LogicalDisk` resource.

The instance defines the properties to return in the output.

Expand Down