According to the New York Times, the United States had planned to cyber-attack the Libyan air defense. There had also been plans to use cyber attacks against Pakistani systems in the Bin Laden raid. However, in both cases conventional force was used instead. Read the interesting article for background information.