Users Guide
and all the ranges it contains. You can maintain dierent sets of protocols for dierent types of devices in your network. With ranges
not in a group, you have to edit each range individually to change the protocols which are active, the time out or retry values, or
credentials used with each protocol. Each discovery range group can only have one corresponding subnet. The subnet for a group is
read from the DiscoveryProle.xml le and not from the Rangelist.xml or RangeList.csv le. If required, create multiple groups for
each subnet. For more information about DiscoveryProle.xml, Rangelist.xml, and RangeList.csv les, see Creating a Discovery
Prole Input File and Specifying IPs, Ranges, or Host names Using XML or CSV Files.
Command:
• PS> Add-DiscoveryRangeGroup –Profile <DiscoveryProfile.xml> -GroupName <group name> -
RangeList <Rangelist.xml>
• PS> Add-DiscoveryRangeGroup –Profile <DiscoveryProfile.xml> -GroupName <group name> -
RangeListCSV <Rangelist.csv>
Examples:
• PS> Add-DiscoveryRangeGroup –Profile .\Samples\DiscoveryProfile.xml -GroupName Group1 -
RangeList .\Samples\rangelist.xml
• PS> Add-DiscoveryRangeGroup –Profile .\Samples\DiscoveryProfile.xml -GroupName Group1 -
RangeListCSV .\Samples\rangelist.csv
Editing a discovery range group
Description: The Set-ModifyDiscoveryRangeGroup command allows you to edit an existing discovery range group. You can
change the protocols for the discovery range group by specifying a DiscoveryProle.xml le which changes the current protocol
settings for the specied group. For information about the DiscoveryProle.xml le, see Creating a Discovery Prole Input File.
Command:
PS> Set-ModifyDiscoveryRangeGroup -GroupName <groupname> –Profile <DiscoveryProfile.xml> -
AddRangeList <rangelist .xml or .csv file>
Example:
• Change a discovery range group’s discovery prole and add new ranges to the discovery range group using an XML le:
PS> Set-ModifyDiscoveryRangeGroup -GroupName WebServers-TX -Profile .\samples
\snmp_only.xml -AddRangeList .\samples\new_ranges.xml
• Change a discovery range group’s discovery prole and add new ranges to the discovery range group using a CSV le:
PS> Set-ModifyDiscoveryRangeGroup -GroupName WebServers-TX -Profile .\samples
\snmp_only.xml -AddRangeListCSV .\samples\new_ranges.csv
• Add new ranges to a discovery range group using an XML le (retaining the previously discovered prole):
PS> Set-ModifyDiscoveryRangeGroup -GroupName WebServers-TX -AddRangeList .\samples
\new_ranges.xml
• Add new ranges to a discovery range group using a CSV le (retaining the previously discovered prole):
PS> Set-ModifyDiscoveryRangeGroup -GroupName WebServers-TX -AddRangeListCSV .\samples
\new_ranges.csv
Removing a discovery range group
Description: The Remove-DiscoveryRangeGroup command allows to you to remove a discovery range group.
Command:
PS>Remove-DiscoveryRangeGroup -GroupName <groupname>
Example:
PS>Remove-DiscoveryRangeGroup -GroupName Group1
Enabling a discovery range or discovery range group
Description: The Set-EnableDiscoveryRange command allows you to enable a discovery range or a discovery range group.
Enter the ranges either using an XML le or by specifying the range. For information about the RangeList.xml le, see Specifying IPs,
Ranges, or Host names Using XML or CSV Files.
383