At a time when some big firms are trimming their summer associate programs, at least two utilities are doing just the opposite.

Pacific Gas & Electric Co.’s legal department last year launched a pilot four-week summer associate program in San Francisco. This year, the utility company is expanding it to eight weeks.