When I finished university, in 2006 and moved north, I was low on funds and my dad had acquired an electric chainsaw from the neighbor that I plugged into a 12-120 inverter and I used that for a year or so. All the red necks mocked me but we were all young then and no one had a chainsaw but me, so it worked handy on the odd tree that was too much for an axe or handsaw to cut. I actually built my bed back then with it! But once I got the funds I got a Stihl 170 and haven't looked back!
One year we went down to tumbler and one of the fords blew a wheel bearing , so after I slept in the cruiser all night and they came back with parts and an angle grinder (didn't have the inverter). Sure enough the bearing needed to get cut off and the spindle grinded, so they stripped the wires and ran it off my 24V cruiser and it worked pretty good!
But like all others, chainsaw is not meant for cords, get gas, or the cordless, seen the Milwaukee in action, it is pretty nice saw and will last the weekend on one or two batteries.