After the city’s computer systems were targeted, officials instructed employees to power down all their computers.