Compare-DscConfiguration

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Arie H Arie H 8 months, 3 weeks ago.

  • Author
    Posts
  • #36676
    Profile photo of Patrik Dahlgren
    Patrik Dahlgren
    Participant

    Hello everybody! My name is Patrik and I'm new in this forum. I'm also new to DSC, I have just started poking around with it.

    According to https://powershell.org/2014/09/09/powershell-v5-whats-new-in-dsc/ there should be a cmdlet named Compare-DSCConfiguration. However It seems for some reason to be missing in my configuration?

    For Example when running Get-Help *-DSC* I only get these:

    Name
    —-
    Disable-DscDebug
    Enable-DscDebug
    Get-DscConfiguration
    Get-DscConfigurationStatus
    Get-DscLocalConfigurationManager
    Get-DscResource
    New-DSCCheckSum
    Remove-DscConfigurationDocument
    Restore-DscConfiguration
    Stop-DscConfiguration
    Find-DscResource
    Invoke-DscResource
    Publish-DscConfiguration
    Set-DscLocalConfigurationManager
    Start-DscConfiguration
    Test-DscConfiguration
    Update-DscConfiguration

    I'm running Windows 10 Enterprise Version 1511 (Build 10586.164) and $PSVersionTable.PSVersion is 5.0.10586.122

    Thanks in advance, Patrik

  • #36689
    Profile photo of Arie H
    Arie H
    Participant

    Use Test-DscConfiguration 🙂

    Remember that old documentation (2014 🙂 ) usualy changes till its RTM. 🙂

You must be logged in to reply to this topic.