Normally I make this with frozen hashed browns, but I have done it with fresh potatoes as well. If you do that, I cut the potatoes in half and cook until just slightly cooked (not too much or they get mushy when shredded). Then shred them. If you don’t cook the potatoes ahead of time, they will turn black before cooking.