The entire script assumes that you are building a SharePoint farm within a domain and not a local instance of SharePoint. Even if you are logged in as an administrator, that administrator must be a domain user that has local administration permissions on the server in question.
↧
New Post: You are running this script under a local machine user account. You must be a domain user
↧