This paper presents a robust control design scheme for a multidistributed energy resource (DER) microgrid for power sharing in both interconnected and islanded modes. The scheme is proposed for micgrogrids consisting of photovoltaic (PV) units and wind turbine driven doubly fed induction generators (DFIGs). A battery is integrated with each of the wind and solar DER units. The control scheme has two levels: 1)one centralized multi-inputmulti-output robust controller for regulating the set reference active and reactive powers and 2)local real and reactive power droop controllers, one on each DER unit. The robust control scheme utilizes multivariable H∞ control to design controllers that are robust to the changes in the network and system nonlinearities. The effectiveness of the proposed controller is demonstrated through large-disturbance simulations, with complete nonlinear models, on a test microgrid. It is found that the power sharing controllers provide excellent performance against large disturbances and load variations during islanding transients and interconnected operation.