Pro PowerShell Desired State Configuration by Ravikanth Chaganti

Pro PowerShell Desired State Configuration by Ravikanth Chaganti

Author:Ravikanth Chaganti
Language: eng
Format: epub, pdf
Publisher: Apress, Berkeley, CA


Note

The argument to the -ComputerName parameter should match one of the file names at the path specified.

Figure 8-3Staging a configuration as pending.mof

If the target node LCM is configured to use the pull refresh mode (which you will see in the next section) or has a pending configuration already, you can use the -Force switch with the Publish-DscConfiguration cmdlet. If the target node is in pull refresh mode, it will be set to push mode after using -Force with the Publish-DscConfiguration cmdlet .

Once the staging is complete, you can enact this configuration using the -UseExisting switch parameter of the Start-DscConfiguration cmdlet.

Start-DscConfiguration -ComputerName S16-01 -UseExisting -Wait -Verbose



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.