Skip to content

Commit

Permalink
Update Test-DscConfiguration.md (#4010)
Browse files Browse the repository at this point in the history
* Update Test-DscConfiguration.md

The cmdlet does not return the type `[System.Boolean]` but instead `[System.String]`. More information here PowerShell/DscResource.Template#14

* Fix other version, and fix typo

* Update Test-DscConfiguration.md

* Update Test-DscConfiguration.md

* Update Test-DscConfiguration.md
  • Loading branch information
johlju authored and v-alje committed Mar 19, 2019
1 parent 3e86719 commit ff7845f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -120,4 +120,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[Restore-DscConfiguration](Restore-DscConfiguration.md)

[Start-DscConfiguration](Start-DscConfiguration.md)
[Start-DscConfiguration](Start-DscConfiguration.md)
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -268,4 +268,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[Restore-DscConfiguration](Restore-DscConfiguration.md)

[Start-DscConfiguration](Start-DscConfiguration.md)
[Start-DscConfiguration](Start-DscConfiguration.md)
Original file line number Diff line number Diff line change
Expand Up @@ -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 of 'True'.
Otherwise, it returns a string value of 'False'.

## EXAMPLES

Expand Down Expand Up @@ -269,4 +269,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[Restore-DscConfiguration](Restore-DscConfiguration.md)

[Start-DscConfiguration](Start-DscConfiguration.md)
[Start-DscConfiguration](Start-DscConfiguration.md)

0 comments on commit ff7845f

Please sign in to comment.