The military can punish you for conduct on internet media sites. You need an experienced military law attorney to consult you regarding your case.
The information provided is for general informational purposes only and not intended to be legal advice. If you require legal advice, please consult with a competent attorney licensed to practice in your jurisdiction.
You can't "notify" the military not to take adverse action against you. If you do something wrong, they can take adverse action against you. I am not sure what you are planning, but you should run them by an experienced military law attorney first. But the general rule is "when in doubt, don't do it."
This post is for information purposes only and does not constitute legal advice, nor does it establish an attorney client relationship with Mr. Cassara.
As a member of the military you actually lose some of the freedoms normal citizens have during the time you serve your country. For example adultery can be considered a crime in the military. Adultery in the military is prosecuted under Article 134. Article 134 prohibits conduct which is of a nature to bring discredit upon the armed forces, or conduct which is prejudicial to good order and discipline.
You can be prosecuted for working as a stripper while in the military. Anything that is conduct which is of a nature to bring discredit to the armed forces.
It would create more problems than it is worth and create some laughter among your superiors if they received a letter from a lawyer "notifying" them not to take an adverse action based on social media postings.
If you posted something you regret: 1 take it down 2 do not lie about the posting if asked by your superiors.
This answer is a general interpretation of the law and is not fact specific to your case. Likewise it does not create an attorney-client relationship. You should seek an attorney for a review of your specific facts and documents.