Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find If PowerShell DSC Resource is Available

$
0
0

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...


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>