-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAutomaticMaintenance-Hosts-Example.json
76 lines (76 loc) · 2.02 KB
/
AutomaticMaintenance-Hosts-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
67
68
69
70
71
72
73
74
75
76
[
{
"Name": "SRV01",
"Template": "Example-Template"
},
{
"Name": "SRV02",
"Template": "Example-Template",
"MyCustomAttribute": "CustomValue2"
},
{
"Name": "SRV03",
"Template": "Example-SCVMM"
},
{
"Name": "SRV04",
"Template": "Example-SCVMM",
"MyCustomAttribute": "CustomValue1",
"PostRestoreCommands": "",
"Workload": [
{
"Path": "D:\\VMs",
"SourcePathFilterDisabled": true,
"DestinationName": "SRV05",
"DestinationPath": "E:\\VMs",
"Filter": "$_.Name -notin @('StaticVM1', 'StaticVM2') -and $_.Location -notlike 'F:\\StaticVMs*'"
}
]
},
{
"Name": "SRV05",
"Type": "HV-SCVMM",
"VMMServerName": "SRVVMM01",
"MyCustomAttribute": "CustomValue1",
"Workload": [
{
"Path": "D:\\VMs",
"DestinationName": "SRV03",
"DestinationPath": "C:\\VMs",
"Filter": "$_.Name -notlike '*-DontMove'"
},
{
"Path": "E:\\VMs",
"DestinationName": "SRV03",
"DestinationPath": "E:\\VMs",
"Filter": "$_.Name -notlike '*-DontMove'"
}
]
},
{
"Name": "SRV06",
"Template": "Example-Hyper-V",
"PutInASubfolder": false,
"Workload": [
{
"Path": "D:\\VMs",
"DestinationName": "SRV07",
"DestinationPath": "D:\\VMs",
"Filter": "$_.Name -like '*'"
}
]
},
{
"Name": "SRV07",
"Template": "Example-Hyper-V",
"Workload": [
{
"Path": "D:\\VMs",
"DestinationName": "SRV06",
"DestinationPath": "D:\\VMs",
"Filter": "$_.Name -like '*'",
"PutInASubfolder": true
}
]
}
]