Users Guide
• PS> Add-DevicesToCustomGroup –GroupName <groupName> -Devices <comma
separated list of devices>
示例:
PS> Add-DevicesToCustomGroup –GroupName MyServers –DeviceList .\Samples
\DeviceList.xml
或
PS> Add-DevicesToCustomGroup –GroupName MyServers –Devices PE2900-WK28-ZMD,
PWR-CODE.US.DELL.COM, HYPERVISOR, M80504-W2K8
DeviceList.xml 文件的示例:
<DeviceList> <Device Name="PE2900-WK28-ZMD"/> <Device Name="PWR-
CODE.US.DELL.COM"/> <Device Name="HYPERVISOR"/> <Device Name="M80504-W2K8"/> </
DeviceList>
删除组
说明:Remove-CustomGroup 命令可以从根节点删除组。
命令:
PS> Remove-CustomGroup –GroupName <groupName>
示例:
PS> Remove-CustomGroup –GroupName MyServers
287