AutomaticMaintenance-Templates-Example.json
[
{ "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": "" } } ] |