Remote machine thru powershell such as login user

I need to automate a machine at a specific time like this :

  1. Power on thru WOL
  2. Tell the machine to login as a specific user.
  3. Open up a browser and go to an url
  4. Stay open for 30min
  5. Shutdown machine

I think i have all steps besides 2. Is it possible to tell a remote machine to login so the user in front of it can see it logs in ?