This is the built-in help made by Microsoft for the command 'Publish-DscConfiguration', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Publishes a DSC configuration to a set of machines, but does not apply it.
Publish-DscConfiguration [-Path] <String> [-Force] [-ThrottleLimit [<Int32>]] -CimSession <CimSession> [-Confirm] [-WhatIf] [<CommonParameters>]
Publish-DscConfiguration [-Path] <String> [[-ComputerName] [<String>]] [-Credential [<PSCredential>]] [-Force] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf]
The Publish-DscConfiguration cmdlet publishes a Desired State Configuration (DSC) configuration document on set of machines. The configurations are applied by either the
Start-DscConfiguration cmdlet when used with the UseExising parameter or when the DSC engine, also known as the Local Configuration Manager (LCM), runs its consistency
cycle. This cmdlet is especially useful when fragments of multiple configuration documents are delivered. When multiple configuration documents fragments are delivered, they
will overwrite the older configuration document fragments.
Windows PowerShell Desired State Configuration Overview
Example 1: Publish a configuration to a remote machine
PS C:\>Publish-DscConfiguration -Path '$home\WebServer' -ComputerName "ContosoWebServer" -Credential (get-credential Contoso\webadministrator)
This command publishes a configuration to a remote machine. The user running the cmdlet should be administrator on the remote machine.