Network inventory script