PS add host to host-set

Post Reply
ovtlndr
Posts: 2
Joined: Thu Sep 03, 2015 9:30 am

PS add host to host-set

Post 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
ovtlndr
Posts: 2
Joined: Thu Sep 03, 2015 9:30 am

Re: PS add host to host-set

Post 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
Post Reply