PowerTip: Find cmdlets and functions related to DSC


Summary: Use Windows PowerShell to find cmdlets and functions related to Desired State Configuration.

Hey, Scripting Guy! Question How can I use Windows PowerShell to quickly find a list of cmdlets and functions related to
           Desired State Configuration (DSC)?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet and specify a noun of *dsc*:

Get-Command -Noun *DSC*

Comments (1)

  1. Only issue is that this also pulls back other cmdlets from other Modules

    So it really should be

    Get-Command -Module PSDesiredStateConfiguration

    Unless you also want to return cmdlets from the ScheduledTasks, KDS & PowerShellGet Modules as well on a Windows10 System

    PS I also get the Azure module show up because of cmdlets like Get-AzureVMDscExtension that are included in the Azure Module

Skip to main content