Misc/SynergyDE64ResourceGenerator.ps1
$installerfile = New-DscResourceProperty -Name InstallerFile -Type String -Attribute Write -Description "Should the VM be created or deleted" $ensure = New-DscResourceProperty -Name Ensure -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $cc = New-DscResourceProperty -Name CoreComponents -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $xs = New-DscResourceProperty -Name xfSeries -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $cn = New-DscResourceProperty -Name ConnectivitySeries -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $rw = New-DscResourceProperty -Name ReportWriter -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $eg = New-DscResourceProperty -Name Examples -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $ps = New-DscResourceProperty -Name ProfessionalSeriesDevelopmentEnvironment -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" $sc = New-DscResourceProperty -Name FilesForSharedInstallation -Type String -Attribute Write -ValidateSet "Present","Absent" -Description "Should the VM be created or deleted" New-DscResource -Name SYN_SynergyDE64 -Properties $installerfile,$ensure,$cc,$xs,$cn,$rw,$eg,$ps,$sc -Path . -ClassVersion 1.0.0 -FriendlyName SynergyDE64 |