diff --git a/dsc/dsc-2.0/PSDesiredStateConfiguration/Get-DscResource.md b/dsc/dsc-2.0/PSDesiredStateConfiguration/Get-DscResource.md index 00d9e8a..8e3853d 100644 --- a/dsc/dsc-2.0/PSDesiredStateConfiguration/Get-DscResource.md +++ b/dsc/dsc-2.0/PSDesiredStateConfiguration/Get-DscResource.md @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.PowerShell.DesiredStateConfiguration.DscResourceInfo[] -### string[] +### System.String[] ## NOTES diff --git a/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DSCCheckSum.md b/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscCheckSum.md similarity index 94% rename from dsc/dsc-2.0/PSDesiredStateConfiguration/New-DSCCheckSum.md rename to dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscCheckSum.md index 0ebc5de..ee5727a 100644 --- a/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DSCCheckSum.md +++ b/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscCheckSum.md @@ -2,12 +2,12 @@ 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. @@ -15,12 +15,12 @@ Creates checksum files for DSC documents and DSC resources. ## SYNTAX ``` -New-DscChecksum [-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] [] +New-DscCheckSum [-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] [] ``` ## 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 diff --git a/dsc/dsc-2.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md b/dsc/dsc-2.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md index 530cf4a..6d6ce66 100644 --- a/dsc/dsc-2.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md +++ b/dsc/dsc-2.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md @@ -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 --- @@ -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. diff --git a/dsc/dsc-3.0/PSDesiredStateConfiguration/Get-DscResource.md b/dsc/dsc-3.0/PSDesiredStateConfiguration/Get-DscResource.md index 973f9d2..edbfe0f 100644 --- a/dsc/dsc-3.0/PSDesiredStateConfiguration/Get-DscResource.md +++ b/dsc/dsc-3.0/PSDesiredStateConfiguration/Get-DscResource.md @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### Microsoft.PowerShell.DesiredStateConfiguration.DscResourceInfo[] -### string[] +### System.String[] ## NOTES diff --git a/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md b/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md index 71e1f1a..ab76d96 100644 --- a/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md +++ b/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md @@ -2,12 +2,12 @@ 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. @@ -15,12 +15,13 @@ Creates checksum files for DSC documents and DSC resources. ## SYNTAX ``` -New-DscChecksum [-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] [] +New-DscCheckSum [-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Confirm] + [] ``` ## 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 @@ -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 @@ -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 @@ -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) - diff --git a/dsc/dsc-3.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md b/dsc/dsc-3.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md index 086d6c5..f82b888 100644 --- a/dsc/dsc-3.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md +++ b/dsc/dsc-3.0/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md @@ -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 --- @@ -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.