Skip to content
Merged
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 @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

### Microsoft.PowerShell.DesiredStateConfiguration.DscResourceInfo[]

### string[]
### System.String[]

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
external help file: PSDesiredStateConfiguration-help.xml
Locale: en-US
Module Name: PSDesiredStateConfiguration
ms.date: 09/14/2021
ms.date: 05/19/2025
online version: https://learn.microsoft.com/powershell/module/psdesiredstateconfiguration/new-dscchecksum?view=dsc-2.0&WT.mc_id=ps-gethelp
schema: 2.0.0
title: New-DscChecksum
title: New-DscCheckSum
---
# New-DscChecksum
# New-DscCheckSum

## SYNOPSIS
Creates checksum files for DSC documents and DSC resources.

## SYNTAX

```
New-DscChecksum [-Path] <String[]> [[-OutPath] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
New-DscCheckSum [-Path] <String[]> [[-OutPath] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION

The `New-DSCCheckSum` cmdlet generates checksum files for PowerShell Desired State Configuration
The `New-DscCheckSum` cmdlet generates checksum files for PowerShell Desired State Configuration
(DSC) documents and compressed DSC resources. This cmdlet generates a checksum file for each
configuration and resource to be used in pull mode. The DSC service uses the checksums to make sure
that the correct configuration and resources exist on the target node. Place the checksums together
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Help Version: 7.2.0.0
Locale: en-US
Module Guid: 779e0998-8c72-4567-89b5-49313fc15351
Module Name: PSDesiredStateConfiguration
ms.date: 12/13/2021
ms.date: 05/19/2025
schema: 2.0.0
title: PSDesiredStateConfiguration
---
Expand All @@ -25,5 +25,5 @@ Gets the DSC resources present on the computer.
### [Invoke-DscResource](Invoke-DscResource.md)
Runs a method of a specified PowerShell Desired State Configuration (DSC) resource.

### [New-DSCCheckSum](New-DSCCheckSum.md)
### [New-DscCheckSum](New-DscCheckSum.md)
Creates checksum files for DSC documents and DSC resources.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

### Microsoft.PowerShell.DesiredStateConfiguration.DscResourceInfo[]

### string[]
### System.String[]

## NOTES

Expand Down
20 changes: 10 additions & 10 deletions dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@
external help file: PSDesiredStateConfiguration-help.xml
Locale: en-US
Module Name: PSDesiredStateConfiguration
ms.date: 09/14/2021
ms.date: 05/19/2025
online version: https://learn.microsoft.com/powershell/module/psdesiredstateconfiguration/new-dscchecksum?view=dsc-3.0&WT.mc_id=ps-gethelp
schema: 2.0.0
title: New-DscChecksum
title: New-DscCheckSum
---
# New-DscChecksum
# New-DscCheckSum

## SYNOPSIS
Creates checksum files for DSC documents and DSC resources.

## SYNTAX

```
New-DscChecksum [-Path] <String[]> [[-OutPath] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
New-DscCheckSum [-Path] <String[]> [[-OutPath] <String>] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

## DESCRIPTION

The `New-DSCCheckSum` cmdlet generates checksum files for PowerShell Desired State Configuration
The `New-DscCheckSum` cmdlet generates checksum files for PowerShell Desired State Configuration
(DSC) documents and compressed DSC resources. This cmdlet generates a checksum file for each
configuration and resource to be used in pull mode. The DSC service uses the checksums to make sure
that the correct configuration and resources exist on the target node. Place the checksums together
Expand All @@ -37,14 +38,15 @@ PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\"
This command creates checksum files for all configurations in the path `C:\DSC\Configurations`.
Any checksum files that already exist are skipped.

### Example 2: Create checksum files for all configurations in a specific path and overwrite the existing checksum files
### Example 2: Create checksum files for all configurations in a specific path

```
PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\" -Force
```

This command creates new checksum files for all configurations in the path `C:\DSC\Configurations`.
Specifying the *Force* parameter causes the command to overwrite any checksum files that already exist.
Specifying the *Force* parameter causes the command to overwrite any checksum files that already
exist.

## PARAMETERS

Expand Down Expand Up @@ -114,8 +116,7 @@ Accept wildcard characters: False

### -WhatIf

Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Shows what would happen if the cmdlet runs. The cmdlet is not run.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down Expand Up @@ -149,4 +150,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## RELATED LINKS

[Windows PowerShell Desired State Configuration Overview](/powershell/scripting/dsc/overview/dscforengineers)

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Help Version: 7.2.0.0
Locale: en-US
Module Guid: 779e0998-8c72-4567-89b5-49313fc15351
Module Name: PSDesiredStateConfiguration
ms.date: 04/18/2025
ms.date: 05/19/2025
schema: 2.0.0
title: PSDesiredStateConfiguration
---
Expand Down Expand Up @@ -40,6 +40,6 @@ Gets the DSC resources present on the computer.

Runs a method of a specified PowerShell Desired State Configuration (DSC) resource.

### [New-DSCCheckSum](New-DSCCheckSum.md)
### [New-DscCheckSum](New-DscCheckSum.md)

Creates checksum files for DSC documents and DSC resources.