PSDesiredStateConfiguration

此模块包含旨在与 DSC 资源配合使用的 cmdlet。 PSDesiredStateConfiguration v1.1 是 Windows PowerShell 5.1 随附的 DSC 版本。

PSDesiredStateConfiguration

Disable-DscDebug

Stops debugging of DSC resources.

Enable-DscDebug

Starts debugging of all DSC resources.

Get-DscConfiguration

Gets the current configuration of the nodes.

Get-DscConfigurationStatus

Retrieves data about completed configuration runs.

Get-DscLocalConfigurationManager

Gets Local Configuration Manager (LCM) settings and states for the node.

Get-DscResource

Gets Desired State Configuration (DSC) resources present on the computer.

Invoke-DscResource

Runs a method of a specified DSC resource.

New-DscChecksum

Creates checksum files for DSC documents and DSC resources.

Publish-DscConfiguration

Publishes a DSC configuration to a set of computers.

Remove-DscConfigurationDocument

Removes a configuration document from the DSC configuration store.

Restore-DscConfiguration

Reapplies the previous configuration for the node.

Set-DscLocalConfigurationManager

Applies Local Configuration Manager (LCM) settings to nodes.

Start-DscConfiguration

Applies configuration to nodes.

Stop-DscConfiguration

Stops a configuration job that is running.

Test-DscConfiguration

Tests whether the actual configuration on the nodes matches the desired configuration.

Update-DscConfiguration

Checks the pull server for an updated configuration and applies it.