Skip to content

Commit

Permalink
Update Test-DscConfiguration.md
Browse files Browse the repository at this point in the history
The cmdlet does not return the type `[System.Boolean]` but instead `[System.String]`. More information here PowerShell/DscResource.Template#14
  • Loading branch information
johlju authored Mar 17, 2019
1 parent 88553be commit ef7998a
Showing 1 changed file with 3 additions and 3 deletions.
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 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 ef7998a

Please sign in to comment.