Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User feedback whilst registering DSC node not running #1

Open
timhaintz opened this issue Jan 28, 2019 · 0 comments
Open

User feedback whilst registering DSC node not running #1

timhaintz opened this issue Jan 28, 2019 · 0 comments

Comments

@timhaintz
Copy link
Owner

$dscRegisterNode = Get-AzureRmAutomationDscNode @azureRMRGAutoAcct -Name 'dc1'
$i = 1
While ($dscRegisterNode.Status -ne 'Compliant')
{
    Start-Sleep -Seconds 60
    Write-Warning "DSC Node dc1 is not in DSC compliance. This can take around 15 minutes. It has been $i minute(s)."
    $dscRegisterNode = Get-AzureRmAutomationDscNode @azureRMRGAutoAcct -Name 'dc1'
    $i++
}

Section not currently running. It has been, further debugging required to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant