-
Notifications
You must be signed in to change notification settings - Fork 1
/
AutomaticMaintenance-Templates-Example.json
66 lines (66 loc) · 2 KB
/
AutomaticMaintenance-Templates-Example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[
{
"Name": "Example-Template",
"Properties": {
"PreClearCommands": "Example-PreClear.ps1",
"PostClearCommands": "Example-PostClear.ps1",
"PreRestoreCommands": "Example-PreRestore.ps1",
"PostRestoreCommands": "Example-PostRestore.ps1",
"TestCommands": "Example-Test.ps1",
"FinallyCommands": "Example-Finally.ps1",
"UpdateInstallFilter": "$_.Title -notlike '*Preview*' -and $_.Title -notlike '*Silverlight*' -and $_.Title -notlike '*Security Only*'"
}
},
{
"Name": "Example-SCVMM",
"Include": [
{
"Priority": 1,
"Name": "Example-Template"
}
],
"Properties": {
"Type": "HV-SCVMM",
"VMMServerName": "SRVVMM01",
"Workload": [
{
"Path": "C:\\VMs",
"DestinationName": "SRV05",
"DestinationPath": "D:\\VMs",
"Filter": "$_.Name -notlike '*-DontMove'"
},
{
"Path": "E:\\VMs",
"DestinationName": "SRV05",
"DestinationPath": "E:\\VMs",
"Filter": "$_.Name -notlike '*-DontMove'"
}
]
}
},
{
"Name": "Hosts-With-Silverlight",
"Properties": {
"UpdateInstallFilter": "$_.Title -notlike '*Preview*' -and $_.Title -notlike '*Security Only*'"
}
},
{
"Name": "Example-Hyper-V",
"Include": [
{
"Priority": 1,
"Name": "Example-Template"
},
{
"Priority": 2,
"Name": "Hosts-With-Silverlight"
}
],
"Properties": {
"Type": "HV-Vanilla",
"PutInASubfolder": true,
"TestCommands": "Example-Test-HV.ps1",
"FinallyCommands": ""
}
}
]