Dell EMC OpenManage Essentials Version 2.5 User's Guide

Adding devices to a custom group

Description: The Add-DevicesToCustomGroup command allows you to add devices to an existing group. To add the devices to the group, either use an XML file or list the devices and separate them using a comma.

Commands:
  • PS> Add-DevicesToCustomGroup –GroupName <groupName> -DeviceList <devicelist.xml>
  • PS> Add-DevicesToCustomGroup –GroupName <groupName> -Devices <comma separated list of devices>
Examples:
PS> Add-DevicesToCustomGroup –GroupName MyServers –DeviceList .\Samples\DeviceList.xml
or
PS> Add-DevicesToCustomGroup –GroupName MyServers –Devices PE2900-WK28-ZMD, PWR-CODE.US.DELL.COM, HYPERVISOR, M80504-W2K8
Example of a DeviceList.xml file:
<DeviceList>
                                    <Device Name="PE2900-WK28-ZMD"/>
                                    <Device Name="PWR-CODE.US.DELL.COM"/>
                                    <Device Name="HYPERVISOR"/>
                                    <Device Name="M80504-W2K8"/>
                                    </DeviceList>
                                 

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\