You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may want to consider that DSC may not be only used to keep a server at a given configuration e.g. monitor/refresh mode may not be used and DSC can be deployed via the Start-DSCConfiguration cmdlet and could also be delivered via a DevOps Orchestrator. E.g. I may want to add a temp connection to a SAN for whatever reason and I can quickly add to DSC config. compile and run Start-DSCConfiguration against the remote machine. I'll get my lun and it'll be gone on reboot. LCM refresh would need to be disabled in this case I suspect (as DSC will re-add it as a non persistent device) but it is a valid configuration. Another use case would be to use Invoke-DSCResource and call a single DSC Method as per https://docs.microsoft.com/en-us/powershell/module/psdesiredstateconfiguration/invoke-dscresource?view=powershell-5.1
which requires the refresh mode is disabled.
I don't think this is useful when used in a DSC environment. The parameter could be removed from the MOF file but internally just default to $True.
The text was updated successfully, but these errors were encountered: