Skip to content

Commit 3c98ff2

Browse files
committed
feat: added template
1 parent cf5ddba commit 3c98ff2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

templates/xoap-dsc-template.ps1

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Configuration CONFIGURATIONNAME
2+
{
3+
Import-DscResource -ModuleName 'PSDesiredStateConfiguration'
4+
5+
Node CONFIGURATIONNAME
6+
{
7+
WindowsOptionalFeature "Microsoft-Hyper-V-All"
8+
{
9+
Name = "Microsoft-Hyper-V-All"
10+
Ensure = "Disable"
11+
}
12+
13+
File "DemoDirectory"
14+
{
15+
Type = 'Directory'
16+
Ensure = 'Present'
17+
DestinationPath = "C:\DemoDirectory"
18+
}
19+
}
20+
}
21+
CONFIGURATIONNAME

0 commit comments

Comments
 (0)