Users Guide

Use a period (.) to retrieve the file located in the current directory, or .\directory to retrieve the file
located one level from the current directory. For example, Add-DiscoveryRange –Profile .
\samples\DiscoveryProfile.xml.
Command Line Interface Commands
Access to CLI commands in the OpenManage Essentials is dependent on your access privilege. If your
user id belongs to the OMEAdministrators group, you can access all the CLI commands. If your user id
belongs to the OMEUsers group, then you cannot delete or modify any data using the CLI and a warning
message is displayed.
Creating a Discovery Range
Description: The Add-DiscoveryRange command allows you to create a new discovery range. The
command references an xml file (DiscoveryProfile.xml) which is a protocol definition associated with the
discovery range. Enter the ranges either using an xml file, csv file, or by specifying the range. For more
information about DiscoveryProfile.xml, RangeList.xml, and RangeList.csv files, see Creating a Discovery
Profile Input File and Specifying IPs, Ranges, or Host Names Using XML or CSV Files.
Commands:
PS> Add-DiscoveryRange –Profile <DiscoveryProfile.xml> -Range <range>
PS> Add-DiscoveryRange –Profile <DiscoveryProfile.xml> -RangeList
<RangeList.xml>
PS> Add-DiscoveryRange –Profile <DiscoveryProfile.xml> -RangeListCSV
<RangeList.csv>
Examples:
PS> Add-DiscoveryRange –Profile .\Samples\DiscoveryProfile.xml -Range
10.35.0.124
PS> Add-DiscoveryRange –Profile .\Samples\DiscoveryProfile.xml -RangeList .
\Samples\RangeList.xml
PS> Add-DiscoveryRange –Profile .\Samples\DiscoveryProfile.xml -
RangeListCSV .\Samples\RangeList.csv
Removing a Discovery Range
Description: The Remove-DiscoveryRange command allows you to remove a discovery range. Enter
the ranges either using an xml file or by specifying the range. For more information about the
RangeList.xml file, see Specifying IPs, Ranges, or Host Names Using XML or CSV Files.
Commands:
PS> Remove-DiscoveryRange -Range <range>
PS> Remove-DiscoveryRange -RangeList <rangelist.xml>
Examples:
PS> Remove-DiscoveryRange-Range 10.35.0.1, 10.120.1.2
PS> Remove-DiscoveryRange -RangeList .\Samples\RangeList.xml
398