White Papers
Discovery and inventory commands
9 Advantages of Command Line Interface in Dell EMC OpenManage Essentials
3 Discovery and inventory commands
The following functionality is provided by the PowerShell command line interface:
• Create a discovery range
• Remove a discovery range
• Create a discovery range group
• Remove a discovery range group
• Enable discovery range / discovery range group
• Disable discovery range / discovery range group
• Create a discovery exclude range
• Remove a discovery exclude range
• Run a discovery range – discovery only (also per device)[range name]
• Run a discovery range – discovery and inventory only
• Run a discovery range – inventory only
• Run a discovery range – status polling
• Run a discovery range group – discovery only (also per device)[range name]
• Run a discovery range group – discovery and inventory only
• Run a discovery range group – inventory only
• Run a discovery range group – status polling
• Get status execution progress of a discovery range
• List devices discovered in a given discovery range
• List ranges / List range groups
Details on each command are discussed in the following sections.
3.1 Create discovery range
• PS> Add-DiscoveryRange –Profile <profile.xml> -Range <range>
• PS> Add-DiscoveryRange –Profile <profile.xml> -RangeList <ranges in xml>
• PS> Add-DiscoveryRange –Profile <profile.xml> -RangeListCSV <ranges in
CSV format>
3.2 Optional Flags
• wmiPassword <wmi password>
• ipmiPassword <ipmi password>
• wsmanPassword <wsman password>
• emcPassword <emc password>
• RESTPassword <REST password>
• SNMPV3AuthenticatiAdd-onPassword <authentication password>
• SNMPV3EncryptionPassword <encryption password>
The above flags are required if the corresponding section in the profile.xml is enabled. If a password flag is
passed to a protocol that is not enabled in the profile.xml, it is ignored.