PowerTip: Find If PowerShell DSC Resource is Available

Doctor Scripto

Summary: Learn to find if a Windows PowerShell DSC resource is available.

Hey, Scripting Guy! Question How can I find if the Desired State Configuration resource that I need for a script I found on the Internet is available
           on my computer?

Hey, Scripting Guy! Answer Use the Get-DSCResource cmdlet and specify the name of the provider. Here is an example that uses a standard
           DSC resource provider that should be available on a computer that runs Windows PowerShell 4.0.

PS C:\> Get-DscResource -Name file

ImplementedAs   Name                      Module                         Properties

————-   —-                      ——                         ———-

Binary          File                                                     {Destina…