In the corporate world, breakups are easy to do, but they don’t always work out the way you might think.

On Tuesday, General Electric Inc. GE, +7.76%[1]  said it would spin off its health-care business and unload its ownership in Baker Hughes[2], an oil services company, as part of a restructuring that will greatly change the corporate monolith that was recently booted from the Dow Jones Industrial Average[3] DJIA, +0.12%[4]  . The changes are the result of a year-long review of the struggling company by Chief Executive John Flannery, who should give a call to Meg Whitman, the former CEO of Hewlett Packard, once one of the largest tech companies, to see how these types of moves can play out.

When HP, then with $100 billion in revenue, underwent its massive breakup, it was a smaller, tech version of GE. It was involved in nearly every part of the tech business: PCs, printers, servers, supercomputers, software, storage, networking, services and other businesses. But in 2014, the then-struggling giant, with a market cap around a lowly $29 billion, was faced with questions of what business it was really in, and decided to split itself in half.

“When you look at GE, its back was against the wall, the pressure has been building, very similar characteristics to HP,” said Daniel Ives, head of technology research at GBH Insights. “It’s hard to run two businesses that have such different characteristics, that was the frustration for investors. They made a smart decision when they broke that up, and giving investors the ability to invest in two separate vehicles depending on the characteristic they were looking for.”

But it sounded easier than it actually was. HP announced its plans for the breakup in October 2014[5] and took a year to complete the separation.

“Immediately, it [the rationale] wasn’t obvious, it did look like a desperation move,” said Glenn O’Donnell, a Forrester Research analyst. “It looked like Meg trying to get costs down and things under control.”

The theory was that under a new structure, its PCs and printer businesses, separated into HP Inc. HPQ, -0.17%[6]  , would generate cash but not a lot of growth, while servers, storage, services and networking formed the nexus of Hewlett Packard Enterprise HPE, +0.66%[7] ...

Read more from our friends at MarketWatch