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 |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
SourceMetaMofDir |
Mandatory |
String |
Folder with the MetaMOF files |
|
ConfigurationName |
String |
Name of the new configuration A file named |
Default: current computer name |
|
TargetMetaMofDir |
String |
Target folder for the new MetaMOF file and helper scripts |
Default: |
Example
SwitchLcmMode:
SourceMetaMofDir: \\PullServer\Config$\MetaMOF
TargetMetaMofDir: C:\Temp\DSC
ConfigurationName: NewConfigName # leave this field empty to use the current computer name