Hilton Giesenow

My feedback

  1. 12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  PowerShell » Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    Hilton Giesenow commented  · 

    Here's another example: [DSCLocalConfigurationManager()]
    configuration MyCompanyWebServer
    {
    param ([string]$ConfigurationID)

    Node Server01
    {
    Settings
    {
    ConfigurationID = $ConfigurationID
    RebootNodeIfNeeded = $true
    RefreshMode = "Pull"
    }

    PartialConfiguration BaseOSConfig
    {
    Description = 'Base OS Config'
    RefreshMode = 'Pull'
    ConfigurationSource = '[ConfigurationRepositoryWeb]MyCompanyHttpsPullServer'
    }

    PartialConfiguration SharePointConfig
    {
    RefreshMode = 'Push'
    DependsOn = '[PartialConfiguration]BaseOSConfig'
    }

    ConfigurationRepositoryWeb MyCompanyHttpsPullServer
    {
    ServerURL = 'https://MyPullServer.mydomain.local:8443/PSDSCPullServer.svc';
    AllowUnSecureConnection = $false
    }

    }
    }

    Hilton Giesenow shared this idea  · 

Feedback and Knowledge Base