Go to products tree view Select Multiple Products. From the action choose option "Product Publish/Unpublish".
Choose your action and click the Button.