As for the OP's error? No clue - but the person who asked if he actually had AD setup or not - that's a great starting place.
Has the OP looked at all of the prerequisites and ensured they are all in place before trying to install Exchange?
We're beyond that now. I answered his issue with why it happened, what happened, and how to fix it here.
Yeah but if he doesn't have AD set up, then he's gonna have a hard time despite running the setup.exe properly
I was addressing his error in his very first post. How far back do you go regarding prerequisites that has nothing to do with the error posted? I mean, should we verify he has an active network connection as well? The direct cause of the error is obvious, let's get past that first, and see what happens next. I mean, the whole point of the command is to extend the AD schema... if he doesn't have AD, then no guide will help him at this point, as it's also insanely clear in the guide he's following.
Ah yes, I see waht you're saying. I should have first asked him if his home has electricity. Then move on to Powershell. Yes.