Users Guide

<Range Name="10.35.0.*"/>
<Range Name="10.36.1.238"/>
<Range Name="PE2850-WebServer1A"/>
</DiscoveryConfigurationRanges>
An example of the RangeList.csv is outlined as follows:
Table 285. Examples of RangeList.csv
Name SubnetMask
192.168.10.* 255.255.255.0
192.168.10.1-255 255.255.255.0
192.168.1-2.* 255.255.255.0
10.35.*.1-2 255.255.255.0
192.168.2.1 255.255.224.0
192.168.2.2 255.255.254.0
192.168.3.3 255.255.128.0
192.168.3.4 255.255.128.0
Specifying Input Files in PowerShell
To use input les in PowerShell, specify the location of the le in the command line. By default, OpenManage Essentials CLI starts at
the following directory:
PS C:\Program Files\Dell\SysMgt\Essentials\Tools\CLI>
If you are running commands from the default CLI directory, with commands located in the directory one level from it (\samples),
you can use either of the following methods of specifying the path to the input les:
Type the entire path name in quotes. For example, Add-DiscoveryRange –Profile “C:\Program Files\Dell
\SysMgt\Essentials\Tools\CLI\Samples\DiscoveryProfile.xml”.
Use a period (.) to retrieve the le located in the current directory, or .\directory to retrieve the le 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
le (
DiscoveryProle.xml) which is a protocol denition associated with the discovery range. Enter the ranges either using an xml le,
csv le, or by specifying the range. For more information about DiscoveryProle.xml, RangeList.xml, and RangeList.csv les, see
Creating a Discovery Prole 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
370