https://www.powershellgallery.com/packages/AemToolkit
Add-AEMEnv -ServerName author -Url http://locahost:4502 -Username admin -Password admin
The server name "author" will be the name to use for all other cmdlets. This is the way to tell what environment to execute the command on.
Activate-Page -ServerName author -Path /content/mysite/home