22external help file : PSDesiredStateConfiguration-help.xml
33Locale : en-US
44Module Name : PSDesiredStateConfiguration
5- ms.date : 09/14/2021
5+ ms.date : 05/19/2025
66online version : https://learn.microsoft.com/powershell/module/psdesiredstateconfiguration/new-dscchecksum?view=dsc-3.0&WT.mc_id=ps-gethelp
77schema : 2.0.0
8- title : New-DscChecksum
8+ title : New-DscCheckSum
99---
10- # New-DscChecksum
10+ # New-DscCheckSum
1111
1212## SYNOPSIS
1313Creates checksum files for DSC documents and DSC resources.
1414
1515## SYNTAX
1616
1717```
18- New-DscChecksum [-Path] <String[]> [[-OutPath] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
18+ New-DscCheckSum [-Path] <String[]> [[-OutPath] <String>] [-Force] [-WhatIf] [-Confirm]
19+ [<CommonParameters>]
1920```
2021
2122## DESCRIPTION
2223
23- The ` New-DSCCheckSum ` cmdlet generates checksum files for PowerShell Desired State Configuration
24+ The ` New-DscCheckSum ` cmdlet generates checksum files for PowerShell Desired State Configuration
2425(DSC) documents and compressed DSC resources. This cmdlet generates a checksum file for each
2526configuration and resource to be used in pull mode. The DSC service uses the checksums to make sure
2627that the correct configuration and resources exist on the target node. Place the checksums together
@@ -37,14 +38,15 @@ PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\"
3738This command creates checksum files for all configurations in the path ` C:\DSC\Configurations ` .
3839Any checksum files that already exist are skipped.
3940
40- ### Example 2: Create checksum files for all configurations in a specific path and overwrite the existing checksum files
41+ ### Example 2: Create checksum files for all configurations in a specific path
4142
4243```
4344PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\" -Force
4445```
4546
4647This command creates new checksum files for all configurations in the path ` C:\DSC\Configurations ` .
47- Specifying the * Force* parameter causes the command to overwrite any checksum files that already exist.
48+ Specifying the * Force* parameter causes the command to overwrite any checksum files that already
49+ exist.
4850
4951## PARAMETERS
5052
@@ -114,8 +116,7 @@ Accept wildcard characters: False
114116
115117### -WhatIf
116118
117- Shows what would happen if the cmdlet runs.
118- The cmdlet is not run.
119+ Shows what would happen if the cmdlet runs. The cmdlet is not run.
119120
120121` ` ` yaml
121122Type : System.Management.Automation.SwitchParameter
@@ -149,4 +150,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
149150## RELATED LINKS
150151
151152[Windows PowerShell Desired State Configuration Overview](/powershell/scripting/dsc/overview/dscforengineers)
152-
0 commit comments