Examples/Resources/TimeZone/1-SetTimeZone.ps1

<#
    .EXAMPLE
        This example sets the current time zone on the node
        to 'Tonga Standard Time'.
#>

Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )

    Import-DSCResource -ModuleName ComputerManagementDsc

    Node $NodeName
    {
        TimeZone TimeZoneExample
        {
            IsSingleInstance = 'Yes'
            TimeZone         = 'Tonga Standard Time'
        }
    }
}