Closed fabiendibot closed 7 years ago
Now you can use ANY keyword in the cSNMPManager resource. I'll enable the possibility to get SNMP from any hosts.
Get-DSCConfiguration is also fixed
Configuration Test { Import-DscResource -ModuleName cSNMP Import-DscResource –ModuleName PSDesiredStateConfiguration Node localhost { WindowsFeature SNMPService { Name = 'SNMP-Service' Ensure = 'Present' } WindowsFeature SNMPRSAT { Name = 'RSAT-SNMP' Ensure = 'Present' } cSNMPCommunity Community { Community = "Test" Right = "ReadOnly" Ensure = "Present" DependsOn = '[WindowsFeature]SNMPRSAT' } cSNMPManager SNMPServer { Manager = 'any' Ensure = 'Present' DependsOn = '[WindowsFeature]SNMPRSAT' } } }
Now you can use ANY keyword in the cSNMPManager resource. I'll enable the possibility to get SNMP from any hosts.
Get-DSCConfiguration is also fixed