When trying to scaffold with asp.net core this command
scaffold-dbcontext \"Data Source=(local);Initial Catalog=MyDb;Integrated Security=True;\" M
that's all it will work