Starting DSC mof on remote machine

suggest change

Starting DSC on a remote machine is the same idea, after PowerShell remoting (WinRM) is enabled. -Path is the folder that contains the MOF. There is no -ServerName parameter.

$remoteComputer = "myserver.somedomain.com"
$cred = Get-Credential
Start-DscConfiguration -Path .\ -ComputerName $remoteComputer -Credential $cred -Verbose -Wait

The folder must already contain myserver.somedomain.com.mof, compiled for that node.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents