Users Guide
le. For more information about the DiscoveryProle.xml and RangeList.xml les, see Creating a Discovery Prole Input File and
Specifying IPs, Ranges, or Host names Using XML or CSV Files.
Commands:
• PS> Set-ModifyDiscoveryRange –Profile <DiscoveryProfile.xml> -Range <range>
• PS> Set-ModifyDiscoveryRange –Profile <DiscoveryProfile.xml> -RangeList <RangeList.xml>
Examples:
•
PS>Set-ModifyDiscoveryRange –Profile .\Samples\DiscoveryProfile.xml -Range 10.35.1.23
• PS> Set-ModifyDiscoveryRange –Profile .\Samples\DiscoveryProfile.xml -RangeList .
\Samples\RangeList.xml
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 a .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 a .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 .csv (retaining the previously discovered prole):
PS> Set-ModifyDiscoveryRangeGroup -GroupName WebServers-TX -AddRangeListCSV .\samples
\new_ranges.csv
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.
Commands:
• PS> Set-EnableDiscoveryRange -Range <range>
• PS> Set-EnableDiscoveryRange -RangeList <RangeList.xml>
• PS> Set-EnableDiscoveryRangeGroup -GroupName <groupname>
Examples:
• PS> Set-EnableDiscoveryRange -Range 10.35.1.3, 10.2.3.1
• PS> Set-EnableDiscoveryRange -RangeList .\Samples\RangeList.xml
• PS> Set-EnableDiscoveryRangeGroup -GroupName Group1
373