Created
March 9, 2021 19:00
-
-
Save signalwarrant/ba261e01e324079eef88c36d00ee9d10 to your computer and use it in GitHub Desktop.
DSCResources.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NoGo | |
Get-Command -Module xPSDesiredStateConfiguration | |
# NoGo | |
xService | Get-Member | |
# Shows all DSC Resources currently installed in PS ModulePath | |
# Access PSModulepath | |
# cd env: | |
# dir | Where-Object Name -eq PSModulePath | |
Get-DscResource | |
# Get all the DSC Resources in the xPSDesiredStateConfiguration Module | |
Get-DscResource -Module xPSDesiredStateConfiguration | |
# How to view the properties of DSC Resources | |
Get-DscResource -Name xService | Select-Object -ExpandProperty Properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment