Two weeks ago on the Office, Michael Scott gave Dunder Mifflin notice of his  resignation. Upon return to Scranton, Michael hatched a plan to start Michael Scott Paper Company and started with some due diligence (I apologize for the advertisement but NBC has to pay the bills):

Michael then asked most of the Scranton staff to come to his new company and started working on putting together  paper order forms.  Eventually the higher-ups got wind of Michael’s new venture:

Unfortunately, for Michael there is no two week "immunity" period. Employees in Texas can set the stages for starting a competing venture (assuming there is no non-compete or other restrictive agreement) on their own time, but not while at work.  The good news for Michael is that Pam the receptionist left Dunder Mifflin to join Michael.