Skip to content

Commit 4196560

Browse files
Anthony WatherstonAnthony Watherston
authored andcommitted
DSC module example
1 parent 0d6972e commit 4196560

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dsc/examples/timezone.dsc.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Provides an example of a DSC configuration that uses a PowerShell DSC Resource not contained in PsDesiredStateConfiguration.
2+
# You must install the ComputerManagementDsc module to use this configuration
3+
4+
$schema: https://aka.ms/dsc/schemas/v3.0.0/bundled/config/document.json
5+
resources:
6+
- type: Microsoft.Windows/WindowsPowerShell
7+
name: Set Timezone
8+
properties:
9+
resources:
10+
- name: Set Timezone
11+
type: ComputerManagementDsc/TimeZone
12+
properties:
13+
IsSingleInstance: Yes
14+
TimeZone: New Zealand Standard Time

0 commit comments

Comments
 (0)