Page 1 of 1

PS add host to host-set

Posted: Thu Sep 03, 2015 9:51 am
by ovtlndr
Hi, with the powershell toolkit, is there any way to add a host to an existing host-set?

In the GIU the step is;
HOSTS
RIGHT CLICK - HOST SETS - EDIT
NEXT
SELECT AVAILABLE HOST
CLICK DOWN ARROW
FINISH

Thanks

Re: PS add host to host-set

Posted: Tue Sep 15, 2015 2:15 pm
by ovtlndr
OK, found the solution;

new-3parhost vmware60 -hostset VMWare-host-set

..will attempt to create vmware60 - and will fail if it already exists
and
..will also attempt to add vmware60 to the host set VMWare-host-set