A "scope" surgery is the use of a small, fiber optic type probe inserted into the joint so the doctor can explore and look inside it to see what's going on.
When a doctor does a scope in this situation, it typically is because they have been unable to identify the issue with tests such as MRI, X-ray, etc. Then they suggest to do this type of surgery to see what is causing the symptoms.
Returning to sport in 2 weeks would be pushing it. Usually the person can return to sport activities in around 3-4 weeks, depending on the doctor. That's if they only do the exploratory scope surgery and don't do anything else surgically during the scope to fix any potential issues they may find. If they do anything more at all, recovery/return to sport time increases.