Interface availibity

Hi All,

Is it possible create script which will show Interface availability ?