Commissioned officers, warrant officers and noncommissioned officers of the Pennsylvania National Guard under their State commissions and warrants shall have all the powers inherent with command and training responsibility as are granted officers, warrant officers and noncommissioned officers of like rank and grade in the armed forces of the United States by law, policy and customs of the service.
51 Pa.C.S. § 2306