Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.38 KB

SwitchLcmMode.adoc

File metadata and controls

64 lines (48 loc) · 1.38 KB

DSC Resource 'SwitchLcmMode'

SwitchLcmMode is used to download a new MetaMOF and switch the LCM to Pull-Mode.

The SwitchLcmMode resource shall be the last step in the DSC configuration otherwise the following steps are not executed.

Source

DSC Resource

Documentation

Table 1. Attributes of category 'SwitchLcmMode'
Parameter Attribute DataType Description Allowed Values

SourceMetaMofDir

Mandatory

String

Folder with the MetaMOF files

ConfigurationName

String

Name of the new configuration

A file named <ConfigurationName>.meta.mof must exist at SourceMetaMofDir.

Default: current computer name

TargetMetaMofDir

String

Target folder for the new MetaMOF file and helper scripts

Default: C:\DSC_Config

Example
SwitchLcmMode:
  SourceMetaMofDir: \\PullServer\Config$\MetaMOF
  TargetMetaMofDir: C:\Temp\DSC
  ConfigurationName: NewConfigName  # leave this field empty to use the current computer name