How To Get Sql Server Instance Information Using T Sql Script

How To Get Sql Server Instance Information Using T Sql Script