diff --git a/dsc/docs-conceptual/dsc-3.0/changelog.md b/dsc/docs-conceptual/dsc-3.0/changelog.md index fbc413e..a5f0867 100644 --- a/dsc/docs-conceptual/dsc-3.0/changelog.md +++ b/dsc/docs-conceptual/dsc-3.0/changelog.md @@ -137,6 +137,8 @@ in this release, see the [diff on GitHub][compare-v3.1.0]. This release also includes an experimental extension for discovering resources installed as Appx packages. +
Related work items + - Issues: - [#461][#461] - [#681][#681] @@ -144,6 +146,8 @@ in this release, see the [diff on GitHub][compare-v3.1.0]. - [#760][#760] - [#762][#762] +
+ - Addes support for passing parameters to the `dsc config` commands from stdin. You can pass _either_ the configuration document or parameters file contents to the command from stdin, but not both. This enables securely passing sensitive parameters to DSC without writing them to a diff --git a/dsc/dsc-1.1/PSDesiredStateConfiguration/New-DscCheckSum.md b/dsc/dsc-1.1/PSDesiredStateConfiguration/New-DscChecksum.md similarity index 93% rename from dsc/dsc-1.1/PSDesiredStateConfiguration/New-DscCheckSum.md rename to dsc/dsc-1.1/PSDesiredStateConfiguration/New-DscChecksum.md index ed2b476..c7f4860 100644 --- a/dsc/dsc-1.1/PSDesiredStateConfiguration/New-DscCheckSum.md +++ b/dsc/dsc-1.1/PSDesiredStateConfiguration/New-DscChecksum.md @@ -3,7 +3,7 @@ external help file: PSDesiredStateConfiguration-help.xml Locale: en-US Module Name: PSDesiredStateConfiguration ms.date: 10/04/2021 -online version: https://learn.microsoft.com/powershell/module/psdesiredstateconfiguration/new-dscchecksum?view=dsc-1.1&WT.mc_id=ps-gethelp +online version: https://learn.microsoft.com/powershell/module/psdesiredstateconfiguration/New-DscChecksum?view=dsc-1.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: New-DscChecksum --- @@ -20,7 +20,7 @@ New-DscChecksum [-Path] [[-OutPath] ] [-Force] [-WhatIf] [-Co ## DESCRIPTION -The `New-DSCCheckSum` cmdlet generates checksum files for Windows PowerShell Desired State +The `New-DscChecksum` cmdlet generates checksum files for Windows 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 @@ -31,7 +31,7 @@ together with the associated DSC documents and compressed DSC resources in the D ### Example 1: Create checksum files for all configurations in a specific path ```powershell -New-DscCheckSum -Path "C:\DSC\Configurations\" +New-DscChecksum -Path "C:\DSC\Configurations\" ``` This command creates checksum files for all configurations in the path `C:\DSC\Configurations`. Any @@ -40,7 +40,7 @@ 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 ```powershell -New-DscCheckSum -Path "C:\DSC\Configurations\" -Force +New-DscChecksum -Path "C:\DSC\Configurations\" -Force ``` This command creates new checksum files for all configurations in the path `C:\DSC\Configurations`. diff --git a/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscCheckSum.md b/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscChecksum.md similarity index 90% rename from dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscCheckSum.md rename to dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscChecksum.md index ee5727a..6cfd4cc 100644 --- a/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscCheckSum.md +++ b/dsc/dsc-2.0/PSDesiredStateConfiguration/New-DscChecksum.md @@ -3,11 +3,11 @@ external help file: PSDesiredStateConfiguration-help.xml Locale: en-US Module Name: PSDesiredStateConfiguration 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 +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 @@ -31,7 +31,7 @@ with the associated DSC documents and compressed DSC resources in the DSC servic ### Example 1: Create checksum files for all configurations in a specific path ``` -PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\" +PS C:\> New-DscChecksum -Path "C:\DSC\Configurations\" ``` This command creates checksum files for all configurations in the path `C:\DSC\Configurations`. @@ -40,7 +40,7 @@ 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 ``` -PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\" -Force +PS C:\> New-DscChecksum -Path "C:\DSC\Configurations\" -Force ``` This command creates new checksum files for all configurations in the path `C:\DSC\Configurations`. diff --git a/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md b/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md index ab76d96..405dfb9 100644 --- a/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md +++ b/dsc/dsc-3.0/PSDesiredStateConfiguration/New-DscChecksum.md @@ -3,11 +3,11 @@ external help file: PSDesiredStateConfiguration-help.xml Locale: en-US Module Name: PSDesiredStateConfiguration 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 +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,13 +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 @@ -32,7 +32,7 @@ with the associated DSC documents and compressed DSC resources in the DSC servic ### Example 1: Create checksum files for all configurations in a specific path ``` -PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\" +PS C:\> New-DscChecksum -Path "C:\DSC\Configurations\" ``` This command creates checksum files for all configurations in the path `C:\DSC\Configurations`. @@ -41,7 +41,7 @@ Any checksum files that already exist are skipped. ### Example 2: Create checksum files for all configurations in a specific path ``` -PS C:\> New-DscCheckSum -Path "C:\DSC\Configurations\" -Force +PS C:\> New-DscChecksum -Path "C:\DSC\Configurations\" -Force ``` This command creates new checksum files for all configurations in the path `C:\DSC\Configurations`.