updated code for CM shell vm info.