From ef7998a26b1b9adf750ae899add17970e4671008 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 17 Mar 2019 10:36:59 +0100 Subject: [PATCH 1/5] Update Test-DscConfiguration.md The cmdlet does not return the type `[System.Boolean]` but instead `[System.String]`. More information here https://github.com/PowerShell/DscResource.Template/issues/14 --- .../PSDesiredStateConfiguration/Test-DscConfiguration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md index d0b0e030806c..7ccde7e7052c 100644 --- a/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -57,8 +57,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify which computers for which you want to test configurations by using computer names or Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a value of $True. -Otherwise, it returns a value of $False. +If the desired and actual configurations match, the cmdlet returns a string value value of 'True'. +Otherwise, it returns a string value of 'False'. ## EXAMPLES @@ -269,4 +269,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [Restore-DscConfiguration](Restore-DscConfiguration.md) -[Start-DscConfiguration](Start-DscConfiguration.md) \ No newline at end of file +[Start-DscConfiguration](Start-DscConfiguration.md) From 1ae53a312245caabb1ab72c82e3448ab4322ccc1 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 17 Mar 2019 10:45:01 +0100 Subject: [PATCH 2/5] Fix other version, and fix typo --- .../PSDesiredStateConfiguration/Test-DscConfiguration.md | 6 +++--- .../PSDesiredStateConfiguration/Test-DscConfiguration.md | 6 +++--- .../PSDesiredStateConfiguration/Test-DscConfiguration.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md index 7420ebdcff30..1331d2c790ed 100644 --- a/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -24,8 +24,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify computers by using Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a value of $True. -Otherwise, it returns a value of $False. +If the desired and actual configurations match, the cmdlet returns a string value of `'True'`. +Otherwise, it returns a string value of `'False'`. ## EXAMPLES @@ -120,4 +120,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [Restore-DscConfiguration](Restore-DscConfiguration.md) -[Start-DscConfiguration](Start-DscConfiguration.md) \ No newline at end of file +[Start-DscConfiguration](Start-DscConfiguration.md) diff --git a/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md index 8d6ffa8242db..184c6f0435f0 100644 --- a/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -56,8 +56,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify which computers for which you want to test configurations by using computer names or Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a value of $True. -Otherwise, it returns a value of $False. +If the desired and actual configurations match, the cmdlet returns a string value of `'True'`. +Otherwise, it returns a string value of `'False'`. ## EXAMPLES @@ -268,4 +268,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable [Restore-DscConfiguration](Restore-DscConfiguration.md) -[Start-DscConfiguration](Start-DscConfiguration.md) \ No newline at end of file +[Start-DscConfiguration](Start-DscConfiguration.md) diff --git a/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md index 7ccde7e7052c..44c3ca0397f2 100644 --- a/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -57,8 +57,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify which computers for which you want to test configurations by using computer names or Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a string value value of 'True'. -Otherwise, it returns a string value of 'False'. +If the desired and actual configurations match, the cmdlet returns a string value of `'True'`. +Otherwise, it returns a string value of `'False'`. ## EXAMPLES From d521afadbb39e750e0fa42200f84da528386e186 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 18 Mar 2019 13:27:00 -0700 Subject: [PATCH 3/5] Update Test-DscConfiguration.md --- .../4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md index 1331d2c790ed..85318b72325c 100644 --- a/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/4.0/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -24,8 +24,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify computers by using Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a string value of `'True'`. -Otherwise, it returns a string value of `'False'`. +If the desired and actual configurations match, the cmdlet returns a string value of 'True'. +Otherwise, it returns a string value of 'False'. ## EXAMPLES From 9d705573f1974a9e90a53366e5ff25a0b44218ba Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 18 Mar 2019 13:27:33 -0700 Subject: [PATCH 4/5] Update Test-DscConfiguration.md --- .../5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md index 184c6f0435f0..970b92b01e32 100644 --- a/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/5.0/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -56,8 +56,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify which computers for which you want to test configurations by using computer names or Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a string value of `'True'`. -Otherwise, it returns a string value of `'False'`. +If the desired and actual configurations match, the cmdlet returns a string value of 'True'. +Otherwise, it returns a string value of 'False'. ## EXAMPLES From c58819d0e5b21bb03f78f3b24a7e6b44a3b9a5fb Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 18 Mar 2019 13:27:58 -0700 Subject: [PATCH 5/5] Update Test-DscConfiguration.md --- .../5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md b/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md index 44c3ca0397f2..fdc3464aa7fb 100644 --- a/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md +++ b/reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md @@ -57,8 +57,8 @@ The **Test-DscConfiguration** cmdlet tests whether the actual configuration on t Specify which computers for which you want to test configurations by using computer names or Common Information Model (CIM) sessions. If you do not specify a target computer, the cmdlet tests configuration of the local computer. -If the desired and actual configurations match, the cmdlet returns a string value of `'True'`. -Otherwise, it returns a string value of `'False'`. +If the desired and actual configurations match, the cmdlet returns a string value of 'True'. +Otherwise, it returns a string value of 'False'. ## EXAMPLES